A hinge for doors or windows may include two parts that are rotatable about a hinge axle. A catch device, arranged inside of the hinge, may have a catch element and a catch recess. The catch element may engage the catch recess in a catch position. Both the catch element and the catch recess may be arranged along the hinge axle.