Yes, air fryers must be vented so that all the air and food odors released from the exhaust port don’t stink up the house. Also, if there is no space at the back of the air fryer, the heat port won’t be able to release heat, which, in return, will overheat the air fryer.