In this study, different geomagnetic field models are compared in order to study the errors resulting from the representation of magnetic fields that affect the satellite attitude system. For this purpose, we used magnetometer data from two Low Earth Orbit (LEO) spacecraft and the geomagnetic models IGRF-12 (Thebault et al., 2015) and T89 (Tsyganenko, 1989) models to study the differences between the magnetic field components, strength and the angle between the predicted and observed vector magnetic fields. The comparisons were made during geomagnetically active and quiet days to see the effects of the geomagnetic storms and sub-storms on the predicted and observed magnetic fields and angles. The angles, in turn, are used to estimate the spacecraft attitude and hence, the differences between model and observations as well as between two models become important to determine and reduce the errors associated with the models under different space environment conditions. We show that the models differ from the observations even during the geomagnetically quiet times but the associated errors during the geomagnetically active times increase. We find that the T89 model gives closer predictions to the observations, especially during active times and the errors are smaller compared to the IGRF-12 model. The magnitude of the error in the angle under both environmental conditions was found to be less than 1. For the first time, the geomagnetic models were used to address the effects of the near Earth space environment on the satellite attitude. (C) 2017 COSPAR. Published by Elsevier Ltd. All rights reserved.