The biscuits were taken from Burton's Food Ltd on Ty Coch Way in Cwmbran, Torfaen, on 17 June.
The man, from Liverpool, has been charged with theft and allowing himself to be carried in a motor vehicle which had been taken without the owner's consent.
He appeared at Newport Magistrates' Court on Thursday.
The empty trailer was found in Warrington and vehicles used in the theft have since been seized by police.

The blaze broke out at Denbeath Bowling Club in Buckhaven, Fife, at 12:35.
Police are warning people to keep their windows closed due to the amount of smoke in the air. Surrounding roads are closed and police are diverting drivers away from the area.
The bowling club is next to Denbeath Primary School in the town, however there have been no injuries.
A 24-year-old man has appeared in court charged with the theft of a trailer containing £20,000 worth of biscuits.
[NEXT_CONCEPT]
Firefighters are tackling a huge blaze at a bowling club in Fife.