Average gasoline prices in Modesto have risen 17.4 cents per gallon in the last week, averaging $5.42/gallon as of July 27, according to GasBuddy’s survey of 201 stations in Modesto. Prices in Modesto are 15.7 cents per gallon higher than a month ago and stand $1.32/gallon higher than a year ago. The national average price of diesel has increased 17.8 cents compared to a week ago and stands at $5.25 per gallon.
The national average price of gasoline has risen 10.8 cents per gallon in the last week, averaging $4.06/gallon. The national average is up 23.9 cents per gallon from a month ago and stands 95.6 cents per gallon higher than a year ago, according to GasBuddy data compiled from more than 11 million weekly price reports covering over 150,000 gas stations across the country.
The cheapest station in Modesto was priced at $4.98/gallon, according to GasBuddy price reports, while the most expensive was $6.39, a difference of $1.41/gallon. The lowest price in the state was $3.89 while the highest was $7.79, a difference of $3.90/gallon.
Historical gasoline prices in Modesto and the national average going back five years show the highest Modesto price of $5.43 was recorded on July 27, 2022 and the lowest of $4.10 was in 2025. Nationally, the highest price was $4.26 per gallon in 2022 and the lowest was on July 27, 2025 when the U.S. average was $3.10 per gallon.
Neighboring areas and their current gas prices include: Stockton - $5.35/gallon, up 13.4 cents from last week’s $5.22; Oakland - $5.59, up 14.1 cents from $5.45; and San Jose - $5.63, up 14.1 cents from last week’s $5.49/gallon.
“Average gasoline and diesel prices rose in nearly every state over the last week, as continued escalations between the U.S. and Iran, renewed Houthi attacks in the Red Sea, and fresh Ukrainian strikes on Russian oil refineries combined to keep upward pressure on both crude and refined product markets,” said Patrick De Haan, head of petroleum analysis at GasBuddy. “However, a weekend pullback in hostilities offered some relief, with oil prices opening sharply lower Sunday, suggesting the pace of increases at the pump may moderate in the days ahead. For now, motorists should expect prices to remain elevated, but the intensity of further gains will depend heavily on how the geopolitical situation develops in the coming week.”
A PDI Technologies company, Gas Buddy is North America’s trusted fuel savings platform, helping consumers fuel up for less for over 25 years. With over 100 million app downloads, GasBuddy delivers real-time prices at 150,000+ stations and is the most authoritative source of station-level fuel pricing data, updating averages 288 times daily from the broadest mix of inputs — spotter reports, direct station integrations, and transactional data.