In the Multi-Axis Differential Absorption Spectroscopy (MAX-DOAS) trace gas and aerosol profile inversion algorithm, the vertical resolution and the observation information obtained through a series of continuous observations with multiple elevation angles (EAs) can affect the accuracy of an aerosol profile, thus further affecting the results of the gas profile. Therefore, this study examined the effect of the vertical resolution of an aerosol profile and EAs on the NO2 profile retrieval by combining simulations and measurements. Aerosol profiles were retrieved from MAX-DOAS observations and co-observed using light detection and ranging (Lidar). Three aerosol profile shapes (Boltzmann, Gaussian, and exponential) with vertical resolutions of 100 and 200 m were used in the atmospheric radiative transfer model. Firstly, the effect of the vertical resolution of the input aerosol profile on the retrieved aerosol profile with a resolution of 200 m was studied. The retrieved aerosol profiles from the two vertical resolution aerosol profiles as input were similar. The aerosol profile retrieved from a 100 m resolution profile as input was slightly overestimated compared to the input value, whereas that from a 200 m resolution input was slightly underestimated. The relative deviation of the aerosol profile retrieved from the 100 m resolution as input was higher than that of the 200 m. MAX-DOAS observations in Hefei city on 4 September 2020 were selected to verify the simulation results. The aerosol profiles retrieved from the oxygen collision complex (O4) differential slant column density derived from MAX-DOAS observations and Lidar simulation were compared with the input Lidar aerosol profiles. The correlation between the retrieved and input aerosol profiles was high, with a correlation coefficient R > 0.99. The aerosol profiles retrieved from the Lidar profile at 100 and 200 m resolutions as input closely matched the Lidar aerosol profiles, consistent with the simulation result. However, aerosol profiles retrieved from MAX-DOAS measurements differed from the Lidar profiles due to the influence of the averaging kernel matrix smoothing, the different location and viewing geometry, and uncertainties associated with the Lidar profiles. Next, NO2 profiles of different vertical resolutions were used as input profiles to retrieve the NO2 profiles under a single aerosol profile scenario. The effect of the vertical resolution on the retrieval of NO2 profiles was found to be less significant compared to aerosol retrievals. Using the Lidar aerosol profile as the a priori aerosol information had little effect on NO2 profile retrieval. Additionally, the retrieved aerosol profiles and aerosol optical depths varied under different EAs. Ten EAs (i.e., 1, 2, 3, 4, 5, 6, 8, 15, 30, and 90°) were found to obtain more information from observations.