Chopper 6 was over the smoky scene on the 400 block of Upper Mainland Road in Lower Salford Township.
It took firefighters about a half-hour to bring the two-alarm blaze under control.
There were no reports of injuries.
Fire officials said they do not think there were any animals in the barn at the time of the blaze.