We investigate the properties of the color-flavor-locked (CFL) quark matter at finite temperature and under strong magnetic fields within quasiparticle model. Our results indicate that the pressure of CFL quark matter may become anisotropic under strong magnetic fields, and the equations of state (EOS) and the equivalent quark mass can be strongly influenced by the temperature, the energy gap constat Δ, and the strong magnetic fields inside the CFL quark matter. The equivalent quark mass of CFL quark matter decreases with the increment of the temperature and magnetic field strength, which implies a inverse magnetic catalysis phenomenon. The results also indicate that the entropy per baryon of the CFL quark matter increases with the temperature and decreases with Δ. Furthermore, we study the properties of the CFL magnetars in different isentropic stages, and the results indicate that the star mass and radius is mainly dependent on the strength and orientation distributions of the magnetic field inside the CFL magnetars. The maximum star mass increases with the entropy per baryon, and the temperature of the star matter increases at the large isentropic stages. Moreover, our results also suggest that the polytropic index of the CFL quark matter decrease with the increment of the star mass.