This will vary depending on how physically large the unit is. As with other appliances, air compressors should be given at least a few inches of clearance on all sides, especially if it requires venting. Also, be sure to keep the control panel accessible to ensure that the unit operates safely at all times.