Its year-earlier net loss totaled 77.2 billion pesos.
President Andres Manuel Lopez Obrador has pumped in billions of dollars to support the company to fulfill his pledge of growing domestic production of motor fuels by refining more of Pemex's crude oil production at home during his term.
On a call with analysts shortly after the results, Pemex's Chief Financial Officer Carlos Cortes hailed progress on growing domestic refining and fuel sales.
"Pemex has been replenishing its participation in the national fuel market," he said, noting that during the third quarter domestic fuel sales grew by nearly 70% year on year.
Pemex's domestic oil refining in the third quarter rose more than 16% to hit 807,000 bpd.