Age limits often come with party hostels that have a bar inside—they'll limit people who are under 16 (or sometimes 18) from staying there. Some hostels that want to keep a younger vibe with similarly aged guests will restrict to under 30 or 40, but these are becoming rarer.