PENNSYLVANIA (WHTM) — Pennsylvania’s gas tax is set to increase in 2023, all due to a law passed a decade ago.

The law, which was signed in 2013 by then-governor Tom Corbett, triggers an automatic tax increase when the wholesale gas price exceeds $3 per gallon.

Get traffic alerts from the abc27 mobile app for the latest local delays and road closures

On Jan. 1, 2023, Pennsylvania’s gas tax will increase by $0.03 per gallon, bringing the total to $0.61.

The tax on diesel fuel will rise by $0.04 per gallon for a total of $0.78 per gallon.

Stay up to date on the latest from abc27 News on-air and on the go with the free abc27 Mobile app.

The tax applies to wholesalers who are expected to pass along the increased prices to drivers.

According to AAA, the average price of a gallon of gas in Pennsylvania is $3.61.