The "severe fire" broke out in Wolverhampton at about 19:55 BST on Friday and six fire engines were sent to the scene.
The flames at the metal recycling yard at Bilston Road in Monmore Green were prevented from spreading to surrounding buildings, West Midlands Fire Service said.
The blaze was under control by 03:30 and the cause is being investigated.
A huge scrapyard blaze involving about 30 cars has been brought under control.