A door for closing a space, comprises a frame, a door part arranged for rotation around a pivot shaft lying in a main plane, for rotation between an opened and a closed position, the door part being suitable in the closed position for closing a space, engaging means for engaging an animal, which engaging means are arranged slidably along the main plane of the frame and wherein sliding takes place between a first and second position, and coupling means arranged between the door part and the engaging means, wherein the door part is in the opened position when the engaging means are in the first position, and wherein the coupling means rotate the door part in the direction of the closed position when the engaging means are carried in the direction of the second position. The invention also relates to a feeding box comprising a door according to the invention.