The Fermi Large Area Telescope (LAT) has opened the way for comparative studies of cosmic rays (CRs) and high-energy objects in the Milky Way (MW) and in other, external, star-forming galaxies. Using 2 yr of observations with the Fermi LAT, Local Group galaxy M31 was detected as a marginally extended gamma-ray source, while only an upper limit has been derived for the other nearby galaxy M33. We revisited the gamma-ray emission in the direction of M31 and M33 using more than 7 yr of LAT Pass 8 data in the energy range , presenting detailed morphological and spectral analyses. M33 remains undetected, and we computed an upper limit of 2.0 × 10-12 erg cm-2 s-1 on the 0.1-100 GeV energy flux (95% confidence level). This revised upper limit rema...