Understanding the phase behaviour of (CO2 + water + permanent gas) systems is critical for implementing carbon capture and storage (CCS) processes, a key technology in reducing CO2 emissions. In this paper, phase behaviour data for (H2O + N2) and (CO2 + H2O + N2) systems are reported at temperatures from 323 to 473 K and pressures up to 20 MPa. In the ternary system, the mole ratio between CO2 and N2 was 1. Experiments were conducted in a newly designed analytical apparatus that includes two syringe pumps for fluid injection, a high-pressure equilibrium vessel, heater aluminium jacket, Rolsi sampling valves and an online gas chromatograph (GC) for composition determination. A high-sensitivity pulsed discharge detector installed in the GC was used to measure the low levels of dissolved nitrogen in the aqueous phase and low water levels in the vapour phase. The experimental data were compared with the calculation based on the γ-φ and SAFT-γ Mie approaches. In the SAFT-γ Mie model, the like parameters for N2 had to be determined. We also obtained the unlike dispersion energy for the (H2O + N2) system and the unlike repulsive exponent and dispersion energy for the (CO2 + N2) system. This was done to improve the prediction of SAFT-γ Mie model. For the (H2O + N2) binary system, the results show that the solubility of nitrogen in the aqueous phase was calculated better by the γ-φ approach rather than the SAFT-γ Mie model, whereas SAFT-γ Mie performed better for the prediction of the vapour phase. For the (CO2 + H2O + N2) ternary systems, both models predicted the experimental data for each phase with good agreement.