It happened Thursday morning in Mantua Township in Gloucester County.
Firefighters were able to bend the iron fence posts enough to free the deer's hind legs.
Once there was enough space, the deer sprinted off.
The deer did not appear to be injured when examined by the firefighters.
The Mantua Township Fire Department, Rescue 2218, learned of the stuck deer when they were called by the police department to perform the rescue.
You can see their full Facebook post and video of the incident below:
ALSO READ | 4 dogs need loving home after owners die of COVID-19
* More New Jersey news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube