The crew, from Camborne fire station in Cornwall, were called to a house in Fore Street, Barripper, at about 09:00 GMT.
The boy's parents contacted the fire brigade after they tried, but failed, to free him.
Cornwall Fire and Rescue said the crew used small tools to free the child, who was unharmed.
Six firefighters have rescued a young boy whose head was stuck in a toilet trainer seat.