.es is the country code top-level domain (ccTLD) for Spain. It is administered by the Network Information Centre of Spain.
Registrations are permitted at the second level or at the third level beneath various generic second level categories. Some qualifications and restrictions apply to third-level registrations depending on which second-level domain they are within. Second-level registrations have had some limitations including requiring registrants to have a connection with Spain, but these restrictions were lifted in a multi-stage process completed by the end of 2005, at which point registrations at the second level of .es were open to anybody worldwide.
Registrations after 2005 phase-in of open registration; there are restrictions on some of the specific subdomains.