MetroCard vending machines will not accept credit or debit cards for a few hours early Saturday morning.

The MTA announced Monday afternoon that software upgrades are scheduled for all machines in subway stations, PATH stations, the JFK AirTrain system, and at LaGuardia Airport.

The update is expected to last between 12:01 a.m. and 6 a.m. Saturday, the MTA said.

"It's an upgrade to the backend of our credit/debit system. We heard what customers said loud and clear, we're going to work to shorten the process and also get more information to riders," MTA Spokesman Jon Weinstein said in a statement.