General State Administration in Spain (AGE): What It Does and Which Offices You Need
The General State Administration in Spain, known in Spanish as the Administración General del Estado (AGE), is the national administrative structure through which the Spanish State carries out many of its responsibilities across the country and abroad.
For newcomers, understanding the AGE is important because many major procedures connected with immigration, foreigner documentation, national security, visas and other state-level matters ultimately involve Spain’s national administration or related state bodies.
But the AGE is only one level of Spanish government.
Spain also has Autonomous Communities, provincial institutions and Ayuntamientos, each with different responsibilities.
The practical question for a newcomer is therefore not simply:
“Which government office do I need?”
It is:
“Is this a national, regional or municipal procedure — and which specific authority handles it?”
Understanding that distinction can prevent incorrect appointments, unnecessary travel and major administrative delays.
General State Administration in Spain: Quick Answers
| Question | Answer |
|---|---|
| What does AGE mean? | Administración General del Estado |
| Is AGE the national administration? | Yes |
| Is an Ayuntamiento part of the AGE? | No |
| Are Autonomous Communities part of the AGE? | No |
| Are Spanish ministries part of the central AGE? | Yes |
| Is there a Delegación del Gobierno in every Autonomous Community? | Yes |
| Are there Subdelegaciones del Gobierno? | Yes, particularly at provincial level |
| Does the AGE operate outside Spain? | Yes |
| Are Spanish embassies and consular services connected with state administration abroad? | Yes |
| Does one AGE office handle all immigration procedures? | No |
| Is Policía Nacional involved with TIEs? | Yes |
| Can AGE procedures be completed online? | Many can |
What Is the Administración General del Estado?
The Administración General del Estado is Spain’s general state administration.
It provides the administrative organization through which national government responsibilities are implemented.
Spanish law organizes the AGE around functional divisions through ministries and territorial management through government delegations.
For someone moving to Spain, this explains why different national procedures may involve completely different institutions even though they ultimately belong to the state level of public administration.
You may interact with one authority for immigration authorization, another for your physical TIE, another for taxes and another for a driving licence.
That fragmentation can initially look confusing.
It becomes much easier once you understand how the system is structured.
For a broader overview of Spanish public administration, see our guide to the Official Government of Spain.
How Is the General State Administration Organized?
The AGE has three main components:
- Central Organization
- Territorial Organization
- General State Administration abroad
This distinction is important because the state does not operate only from Madrid.
Its administrative structure extends throughout Spain and outside Spanish territory.
1. Central Organization of the AGE
The central organization includes Spain’s ministries and their administrative structures.
Within ministries there can be bodies such as:
- Secretarías de Estado;
- Secretarías Generales;
- Subsecretarías;
- Secretarías Generales Técnicas;
- Direcciones Generales;
- Subdirecciones Generales.
For an ordinary resident, understanding every level is rarely necessary.
What matters is knowing that responsibilities are divided among ministries according to subject.
Immigration, policing, foreign affairs, justice, taxation and other national matters therefore do not all belong to a single government department.
This is one reason why searching simply for “Spanish government office” often produces the wrong answer.
2. Territorial Organization of the AGE
Spain’s national administration also operates throughout the country’s territory.
Two important terms newcomers may encounter are:
Delegación del Gobierno
and
Subdelegación del Gobierno.
These are not the same as your Ayuntamiento.
What Is a Delegación del Gobierno?
There is a Delegación del Gobierno in each Autonomous Community.
The Government Delegate represents the Spanish Government within that Autonomous Community and plays an important role in directing and coordinating territorial state administration.
For example, you will find Government Delegations corresponding to territories such as:
- Andalusia;
- Catalonia;
- Madrid;
- Valencian Community;
- Galicia;
- Basque Country;
- Canary Islands;
- Balearic Islands.
A Delegación del Gobierno is therefore state administration operating territorially, not an institution of the Autonomous Community itself.
That distinction is easy to miss.
What Is a Subdelegación del Gobierno?
Subdelegaciones del Gobierno operate primarily at provincial level.
In Autonomous Communities containing several provinces, there is generally a Government Subdelegate in each province.
For example, the Valencian Community consists of Alicante, Castellón and Valencia provinces.
State administration therefore needs territorial organization below the Autonomous Community level as well.
The rules are somewhat different in single-province Autonomous Communities, where the territorial structure does not always need the same provincial layer.
What Are Direcciones Insulares?
Spain’s island geography creates another administrative level in certain islands.
Specific islands have Directores Insulares de la Administración General del Estado, providing territorial representation of the State Administration.
Most newcomers will rarely need to understand this structure in detail, but it demonstrates why Spain’s national administration cannot be described simply as “ministries in Madrid.”
3. General State Administration Abroad
The AGE also operates outside Spain.
This external structure is particularly relevant before you move to Spain.
Spain maintains embassies, consulates, permanent representations and other elements of the State’s external service.
For many non-EU newcomers, their first meaningful interaction with Spanish national administration happens outside Spain when they apply for a visa.
This creates an important relocation sequence:
Spanish consulate abroad → travel to Spain → immigration/residence administration → police documentation → other Spanish authorities
Your interaction with Spain’s administrative system therefore often starts months before you physically move.
Is the Spanish Government the Same as the AGE?
Not exactly.
The terms are often used interchangeably in everyday conversation, but legally and institutionally there is a distinction.
The Government provides political direction and executive leadership.
The Administración General del Estado is the administrative structure through which many state responsibilities are organized and executed.
For newcomers, the distinction does not usually affect which form they complete, but it is useful when trying to understand Spanish institutional terminology.
AGE vs State Public Sector: Another Important Distinction
There is another layer of complexity.
Not every state-level organization that you encounter is technically part of the AGE in exactly the same legal sense.
Spain also has a broader state public sector, which contains public bodies, agencies and other entities linked to or dependent upon the State Administration.
That means phrases such as:
“Spanish national administration”
or:
“state-level authority”
can describe a broader group of institutions than the AGE narrowly defined under administrative law.
For practical relocation purposes, what matters most is identifying the competent authority for your procedure, not trying to memorize every organization’s legal classification.
Which State Authorities Do Foreigners Commonly Deal With?
Foreigners living in Spain encounter several parts of the state administrative system.
The exact authority depends on the procedure.
Immigration and Residence Authorizations
Many residence and immigration applications involve Spain’s immigration administration.
Depending on the type of authorization, the competent authority may include an Oficina de Extranjería, a central immigration unit or another competent state body.
This is why it is dangerous to assume:
Immigration procedure = visit Policía Nacional.
Sometimes police are involved.
Sometimes they are not.
The first question should always be:
Which authority decides this particular authorization?
If you need help determining the correct immigration route, see Immigration Services in Spain.
NIE Numbers
The NIE — Número de Identidad de Extranjero — is the identification number assigned to foreigners for qualifying dealings with Spain.
A standalone NIE request may involve competent police or foreigner offices in Spain or, for someone abroad, the appropriate Spanish consular route.
But an important distinction is:
NIE ≠ residence authorization
and:
NIE ≠ TIE
Many foreigners receive an NIE automatically as part of another immigration or residence procedure and therefore do not need to apply for a second one.
Read our complete NIE Number in Spain guide before booking an appointment simply because someone told you that “everyone needs an NIE appointment.”
TIE Cards
The TIE — Tarjeta de Identidad de Extranjero — is a physical foreigner identity card issued in qualifying situations.
TIE issuance involves the Policía Nacional.
This frequently requires personal attendance because biometric information such as fingerprints must be collected.
The residence authorization and the physical card are therefore related but distinct stages.
A typical sequence may look like:
Residence authorization → authorization becomes effective → TIE appointment → fingerprints → card collection
This is a perfect example of why “Spanish immigration office” is too broad a concept.
Different stages can involve different administrative actors.
Spanish Visas
Visa applications made outside Spain normally involve Spain’s diplomatic or consular network.
A person applying for a Non-Lucrative Visa, Digital Nomad Visa, student visa or other qualifying national visa may therefore begin the process at the Spanish consular office responsible for their place of residence.
After arriving in Spain, however, later procedures may involve completely different authorities.
The office that accepts your visa application abroad is not necessarily the office that handles your documentation after arrival.
Spanish National Police
The Policía Nacional is a state police force.
For foreigners, it is particularly important because police units handle several documentation procedures, including certain NIE matters and TIE issuance.
But Policía Nacional should not be confused with:
- Policía Local;
- Guardia Civil;
- Oficina de Extranjería;
- Ayuntamiento.
Each body has different functions.
Guardia Civil
The Guardia Civil is another major state security force.
Foreign residents may encounter the Guardia Civil in contexts including road policing in certain areas, public security, weapons regulation, rural areas, borders and other responsibilities.
It is not simply another name for Policía Nacional.
Spain has several police and security bodies with overlapping but distinct areas of competence.
Taxes
Foreigners living, working, investing or owning property in Spain may interact with Spain’s national tax administration.
One of the most important names to recognize is:
Agencia Estatal de Administración Tributaria — AEAT
commonly called:
Agencia Tributaria
It administers major elements of Spain’s state taxation system.
However, not every tax in Spain is national.
Some taxes belong to Autonomous Communities, and certain taxes and charges are municipal.
That means:
Tax in Spain ≠ automatically Agencia Tributaria
The correct authority depends on the tax.
Social Security
Newcomers who work or become self-employed may also interact with Spain’s Social Security system.
Two names commonly encountered are:
TGSS — Tesorería General de la Seguridad Social
and
INSS — Instituto Nacional de la Seguridad Social
They perform different functions.
This is another area where searching for “Social Security office Spain” without knowing the procedure can send you to the wrong place.
Driving Licences and Vehicles
National traffic administration is another area relevant to newcomers.
The Dirección General de Tráfico — DGT handles many national traffic and driving-licence matters.
Foreign residents may encounter the DGT when dealing with issues such as:
- driving licences;
- licence exchanges where applicable;
- vehicles;
- traffic records;
- certain administrative procedures involving drivers.
Again, this is state-level administration rather than an Ayuntamiento procedure, although municipalities also have responsibilities involving local traffic and parking.
Nationality and Justice Procedures
Spain’s Ministry of Justice and associated justice administration can become relevant for matters including nationality and certain official certificates and civil procedures.
Someone applying for Spanish citizenship by residence, for example, is dealing with a very different branch of state administration from someone obtaining a TIE.
Both may be foreigners.
Both may be dealing with the Spanish State.
But the responsible authorities are different.
This is why Newcomer.es should teach users to identify the procedure first and the authority second.
AGE vs Autonomous Community vs Ayuntamiento
This is one of the most important distinctions to understand after moving to Spain.
| Level | Examples of matters commonly encountered |
|---|---|
| State / AGE and related state bodies | Immigration, foreigner documentation, visas, national police, foreign affairs, many national taxes, traffic, nationality |
| Autonomous Community | Healthcare, education and many regional administrative matters |
| Ayuntamiento | Padrón, local planning, local taxes and fees, municipal services, local traffic and public spaces |
These categories are simplified because responsibilities can overlap.
But they provide an excellent starting point.
Example: You Need a TIE
You generally need the relevant national/police procedure.
Not your Ayuntamiento.
Example: You Need Empadronamiento
You go through your municipality.
Not Policía Nacional.
Example: You Need Access to Regional Public Healthcare
The Autonomous Community becomes highly relevant.
Example: You Need a Spanish National Visa Abroad
The Spanish consular system becomes relevant.
Knowing the administrative level often tells you where to start.
For the municipal side of the system, read our guide to the Spanish Ayuntamiento.
Delegación del Gobierno vs Autonomous Community Government
These two are particularly easy to confuse.
Suppose you live in the Valencian Community.
You will encounter:
Generalitat Valenciana
and:
Delegación del Gobierno en la Comunitat Valenciana
They are not the same administration.
The Generalitat is the government of the Autonomous Community.
The Delegación del Gobierno represents and coordinates Spain’s national government administration within that territory.
Both operate geographically in the same region.
But they belong to different levels of government.
This distinction exists throughout Spain.
Why Government Offices Can Differ Between Provinces
People often assume that because immigration law is national, every procedure will look identical everywhere.
The underlying law may indeed be national.
But administrative delivery can still differ.
For example:
- appointment availability may vary;
- office locations differ;
- workload differs;
- some procedures are concentrated in particular offices;
- territorial organization differs;
- electronic filing may replace physical attendance for certain procedures;
- different police stations may offer different documentation appointments.
This explains why advice from someone living in Barcelona may not tell you exactly where to go in Alicante.
Always identify the competent authority for your province and procedure.
Does the AGE Have Offices Near You?
Yes.
One of the purposes of Spain’s territorial state administration is to avoid having every citizen travel to Madrid.
Depending on the procedure, you may find relevant state offices at autonomous-community, provincial or local level.
However, the nearest government building is not necessarily the correct one.
Before attending, check:
- Which authority is responsible?
- Is your province the correct territorial jurisdiction?
- Is an appointment required?
- Can the procedure be completed electronically?
- Which form is required?
- Is a fee required?
- Is personal attendance mandatory?
This simple checklist prevents a large percentage of administrative mistakes.
Can AGE Procedures Be Completed Online?
Increasingly, yes.
Spain has developed extensive electronic public administration.
Depending on the procedure, you may be able to:
- file applications;
- submit documents;
- receive notifications;
- check administrative files;
- pay fees;
- download certificates;
- respond to administrative requests;
- communicate with authorities.
Electronic identification is therefore extremely valuable.
One of the most useful tools for someone living in Spain is the Spanish Digital Certificate.
Once properly installed and working, it can turn many procedures that previously required an office visit into online administrative tasks.
What Is the Punto de Acceso General?
Spain operates a central government access portal commonly known as the Punto de Acceso General.
It helps citizens locate government information, offices, electronic services, appointments and other public-administration resources.
Another important digital concept is Mi Carpeta Ciudadana, which provides access to certain information and administrative interactions connected with public authorities.
Rather than sending users directly into dozens of government websites without context, Newcomer.es explains how these systems fit together in our Essential Spanish Government Websites guide.
Do You Need a Cita Previa?
Frequently, but not always.
Cita previa means prior appointment.
Many Spanish administrative procedures use appointment systems, particularly those involving physical attendance.
However, there is no universal appointment that covers all Spanish government offices.
A cita for Policía Nacional does not give you access to the Tax Agency.
An immigration appointment does not automatically cover TIE fingerprints.
An Ayuntamiento appointment has nothing to do with a national immigration appointment.
Always book the appointment corresponding to the specific procedure and competent authority.
Common Mistakes Newcomers Make With Spanish State Administration
Treating All Government Offices as the Same
They are not.
Spain has national, regional, provincial and municipal administrations.
Going to the Ayuntamiento for Immigration
Your town hall is essential for municipal procedures such as padrón registration, but it is not the authority that decides most immigration applications.
Going to Policía Nacional for Every Immigration Issue
Police handle important foreigner-document procedures, but they do not decide every residence authorization.
Confusing NIE and TIE
The NIE is an identification number.
The TIE is a physical identity card issued in qualifying situations.
Assuming the Office That Approved Residence Produces the Card
Residence authorization and TIE issuance can involve different authorities and stages.
Assuming All Taxes Go to the Same Administration
Spain has state, regional and municipal taxation.
Ignoring Electronic Administration
Many procedures can now be completed electronically.
Booking an Appointment Before Understanding the Procedure
This is one of the most common mistakes.
Start with:
Procedure → authority → form → appointment
Not:
Appointment → hope it is the correct office.
A Better Way to Navigate Spanish Administration
Whenever you face a new government procedure in Spain, use this sequence:
Step 1: Define exactly what you need.
For example:
“Get my NIE” is less precise than:
“I need a standalone NIE because I am purchasing property but I am not moving to Spain.”
Step 2: Determine the administrative level.
Is it:
- national;
- regional;
- municipal?
Step 3: Identify the competent authority.
For example:
- immigration office;
- police;
- Spanish consulate;
- Tax Agency;
- Social Security;
- Autonomous Community;
- Ayuntamiento.
Step 4: Determine whether the procedure is electronic or in person.
Do not assume you need to visit an office.
Step 5: Identify the correct form and fee.
Using the wrong form can delay the entire process.
Step 6: Confirm territorial jurisdiction.
The correct procedure in Madrid may require a different office location from Alicante or Málaga.
Step 7: Prepare evidence before the appointment.
Spanish administrative procedures are documentation-driven.
This approach turns Spanish bureaucracy from a maze into a decision tree.
Frequently Asked Questions About the General State Administration in Spain
What is the General State Administration in Spain?
The General State Administration — Administración General del Estado or AGE — is Spain’s national administrative organization through which many state responsibilities are implemented.
What does AGE stand for in Spain?
AGE stands for Administración General del Estado.
Is the Ayuntamiento part of the AGE?
No. An Ayuntamiento is municipal government.
Are Autonomous Communities part of the AGE?
No. Autonomous Communities have their own governments and administrations.
How many main parts does the AGE have?
The AGE is organized into central administration, territorial administration and the General State Administration abroad.
What is a Delegación del Gobierno?
It is the state-level Government Delegation operating within an Autonomous Community.
Is there a Delegación del Gobierno in every Autonomous Community?
Yes.
What is a Subdelegación del Gobierno?
It is part of the territorial organization of state administration, primarily operating at provincial level.
Is Policía Nacional part of national administration?
Yes. Policía Nacional is a state police force and is particularly relevant to foreigners for several documentation procedures.
Does Policía Nacional issue the TIE?
The TIE is issued through the competent Policía Nacional documentation services.
Does an Oficina de Extranjería issue every immigration document?
No. Spanish immigration administration is divided among different authorities depending on the procedure.
Where do I apply for a Spanish visa?
Applications made abroad are generally handled through the competent Spanish consular system, depending on the visa and applicant’s place of residence.
Can I complete Spanish government procedures online?
Many procedures can be completed electronically. A Digital Certificate or another accepted identification method can be extremely useful.
What is the difference between AGE and Ayuntamiento?
AGE is state-level administration. An Ayuntamiento is municipal administration responsible for local matters such as the padrón and many municipal services.
How do I know which Spanish government office I need?
Start by identifying the exact procedure, then determine whether responsibility belongs to the State, Autonomous Community or municipality. After that, identify the specific competent authority.
Spanish Bureaucracy Becomes Easier Once You Understand the Map
Spain’s administrative system is complex because responsibility is distributed rather than concentrated in one office.
But there is logic behind it.
Think of the system as layers:
Spanish State → AGE and state bodies
Autonomous Community → regional administration
Province → territorial administration where applicable
Municipality → Ayuntamiento
Then identify the authority responsible for your particular procedure.
For a newcomer, this understanding can prevent some of the most common mistakes made after moving to Spain.
Instead of asking:
“Where is the government office?”
ask:
“Which administration has legal responsibility for what I need?”
That is the key to navigating Spanish bureaucracy effectively.
If you are unsure which authority, appointment, form or administrative sequence applies to your situation, Newcomer.es provides Administrative Support in Spain for newcomers dealing with Spanish bureaucracy.
For individual assistance, contact Newcomer.es.