The hamster wedged its head between the narrow metal bars as its owner tried to clean the cage.
When she could not free her pet, she took the hamster and cage to her local fire station.
Firefighters said they were astonished when the woman revealed the problem. Cheshire Fire Service said: "It was certainly a very unusual job. The hamster was stuck firmly between the bars of the cage. We used the cutters we usually use for removing jewellery such as rings which are stuck.
"We cut the bars around the neck and released the hamster.
The owner and the hamster were both very relieved."
The hamster was uninjured.