Some hostels have age restrictions, others don't. In most countries, 18 years old is the minimum age to book accommodation as the primary guest (secondary guests can be younger than 18 if the primary guest is older than 18). In some other countries (and in parts of the US), the minimum age to book is 21 years old.