One of the questions we receive most often from individuals, self-employed professionals and businesses is how long do I have to challenge the Spanish Tax Agency. The answer depends on exactly what you want to do: correcting your own self-assessment tax return is not the same as applying for a refund of an undue payment or appealing against an assessment that has just been notified by the Spanish Tax Agency.
In many cases, people simply refer to a four-year period. However, that answer can be misleading. If the Spanish Tax Agency has just notified you of an assessment, penalty or decision that you wish to challenge, the standard deadline for appealing may be just one month.
At Barcelona Tributario, we handle claims, inspections and tax proceedings for individuals and businesses in Barcelona and throughout Spain. One of the first checks we carry out in any case is to identify precisely which deadline is running and when it expires.
Key summary: how long do I have to challenge the Spanish Tax Agency?
- General limitation rule: certain tax rights expire after 4 years.
- Correcting a self-assessment tax return: as a general rule, action must be taken before the relevant right becomes time-barred; for several taxes, a corrective self-assessment tax return is now used.
- Applying for a refund or repayment of an undue payment: there is usually a 4-year limitation period, but the precise starting date depends on the circumstances.
- Appealing against a tax assessment: we usually have 1 month to file an optional reconsideration appeal or an economic-administrative claim.
- Appealing against a tax penalty: we must also usually act within 1 month from notification.
- Bringing judicial review proceedings: where there is an express decision ending the administrative route, the general deadline is 2 months.
- Interruption of the limitation period: certain actions by the Spanish Tax Agency or the taxpayer may cause the 4-year period to start again.
- Important: the 4-year limitation period should not be confused with the 1- or 2-month procedural deadlines for appealing against a specific act.
Quick answer: 4 years does not mean you always have 4 years to appeal
If you want to know how long do I have to challenge the Spanish Tax Agency, first establish whether there is not yet an administrative act or whether the Spanish Tax Agency has already notified you of an assessment, penalty or decision.
Deadlines for challenging the Spanish Tax Agency are strict and every day counts. Speak to our tax lawyers today and find out whether your case can still be resolved before your right becomes time-barred.
If the Spanish Tax Agency has already notified you of an act that you wish to appeal, do not wait four years. In many tax proceedings, the standard deadline for challenging it is one month.
Table of deadlines for challenging the Spanish Tax Agency
| Situation | General deadline | From when |
|---|---|---|
| Tax Agency's right to issue an assessment | 4 years | From the day after the end of the statutory deadline for filing the tax return or self-assessment |
| Tax Agency's right to collect a debt | 4 years | From the day after the end of the voluntary payment period, subject to the applicable legal qualifications |
| Applying for certain refunds | 4 years | Depends on the type of refund and when it could have been claimed |
| Applying for repayment of an undue payment | 4 years | According to the specific rules in article 67 LGT |
| Optional reconsideration appeal | 1 month | From the day after notification of the appealable act |
| Economic-administrative claim | 1 month | From the day after notification of the challenged act |
| Judicial review appeal | 2 months | As a general rule, from the day after notification of the express act ending the administrative route |
| Extraordinary review appeal | 3 months | From becoming aware of the documents or from the date the judgment becomes final, depending on the legal circumstances |
This table is general guidance. To calculate a specific expiry date, we need to review the notification, the tax, the procedure and any action that may have interrupted the limitation period.
What it means for a tax debt or right to become time-barred after four years
Article 66 of the General Tax Act establishes a general period of four years for different rights.
These include:
- The Administration's right to determine a tax debt by assessment.
- The Administration's right to demand payment of tax debts.
- The taxpayer's right to apply for certain refunds.
- The right to receive certain refunds and repayments.
However, knowing that the period is four years is not enough.
We need to establish:
- Which specific right is being analysed.
- When the period began.
- Whether any interruption has occurred.
- Whether there are related obligations or connected periods.
- Whether this is genuinely a limitation period or an appeal deadline.
When does the four-year period start to run?
This is one of the most important issues when correctly answering how long do I have to challenge the Spanish Tax Agency.
Article 67 LGT establishes different starting dates depending on the right concerned.
The Tax Agency's right to issue an assessment
As a general rule, the period begins on the day after the deadline for filing the relevant tax return or self-assessment ends.
For example, we should not automatically count four years from the date on which a tax return was filed if the statutory filing period had not yet ended.
The Tax Agency's right to collect
In general terms, the period starts on the day after the end of the voluntary payment period, although there are particular rules for certain liable parties and situations.
The right to apply for a refund
The starting date depends on the origin of the refund.
It may begin, among other times:
- at the end of the period allowed to apply for a refund;
- when the refund could have been claimed;
- from the undue payment, subject to the legal specific rules;
- or from the date certain decisions establishing that an act was improper become final.
For this reason, we do not recommend calculating a limitation period simply by adding four years to the date shown on a bank receipt.
Four years to correct a tax return: what has changed
Traditionally, it was explained that where a taxpayer had overpaid, they had to submit an application to rectify their self-assessment tax return.
This framework has changed for several taxes with the introduction of the corrective self-assessment tax return.
What is a corrective self-assessment tax return?
A corrective self-assessment tax return makes it possible to correct, complete or amend a previously filed self-assessment in taxes whose specific legislation has introduced this system.
The affected taxes include, under their respective application rules:
- Personal Income Tax.
- VAT.
- Corporate Income Tax.
- Certain Excise Duties.
This means that we can no longer generally state that any error in the taxpayer's favour is always corrected through a separate application for rectification.
Until when can it be filed?
The rules allow a corrective self-assessment tax return to be filed provided that the Administration's right to issue an assessment, or the taxpayer's right to apply for the relevant refund, has not become time-barred.
The deadline must be calculated according to the specific tax and period.
Exception where a higher-ranking rule is challenged
The legislation retains certain circumstances in which the traditional rectification procedure may still be used, especially where the taxpayer argues that the applied rule breaches a higher-ranking constitutional, European or international provision.
How long do I have to claim repayment of an undue payment?
Where an amount has been paid that was not legally due, there may be a right to apply for a repayment of undue payments.
The general limitation period is four years.
However, we must be precise about the starting date.
Article 67 LGT establishes different rules depending on when and how the payment was made.
For example, where the undue payment was made within the filing period for a self-assessment tax return, the period may be linked to the end of that deadline rather than simply to the exact payment date.
In addition, where the payment arises from an administrative act that is already final, repayment may first require using one of the special review procedures permitted by the LGT.
I have received a tax assessment: how long do I have to appeal?
This is where one of the most dangerous misunderstandings arises.
If the Spanish Tax Agency has already issued and notified an act, we usually do not have four years to decide whether to appeal it.
As a general rule, the main administrative options have a deadline of one month.
Optional reconsideration appeal
The optional reconsideration appeal in tax matters is optional.
It may be lodged against acts subject to economic-administrative claims and, in general, the deadline is one month from the day after notification.
If we file a reconsideration appeal, we cannot simultaneously bring an economic-administrative claim against the same act until the appeal is expressly decided or may be deemed dismissed.
Economic-administrative claim
This also generally has a deadline of one month from the day after notification of the challenged act.
It is a particularly important route in tax disputes because it allows the administrative act to be reviewed before going to court.
In Catalonia, depending on the Administration and the act being challenged, state or regional economic-administrative bodies may be involved.
Optional reconsideration appeal or economic-administrative claim?
There is no universal answer.
The reconsideration appeal is decided by the same Administration that issued the act.
The economic-administrative claim is addressed to the competent economic-administrative body.
Before choosing, we analyse issues such as:
- Type of dispute.
- Existence of favourable case law.
- Need for suspension.
- Amount involved.
- Technical complexity.
- Administration that issued the act.
- Potential subsequent litigation strategy.
Does appealing against an assessment automatically suspend payment?
We should not confuse appealing with suspending enforcement of the debt.
Filing a claim does not automatically mean, in every case, that the Spanish Tax Agency will stop demanding payment.
Depending on the route and the act, suspension may require guarantees or compliance with certain requirements.
Tax penalties
Penalties are subject to special suspension rules during the administrative route when they are appealed under the legally established terms.
Tax assessments
For an assessment, on the other hand, we must consider whether suspension should be requested and which guarantee or legal ground may be used.
This must be planned at the same time as the appeal, because a sound legal defence alone does not prevent collection consequences if suspension is not handled correctly.
How long do I have to go to court?
Once the administrative or economic-administrative route has been exhausted, access to judicial review proceedings may be available.
When challenging an express act that ends the administrative route, the general deadline set by the Law regulating the Contentious-Administrative Jurisdiction is two months from the day after its notification.
The competent court will depend on who issued the act, the economic-administrative body that decided the matter, and the applicable jurisdiction rules.
Therefore, it is not correct to state that every tax claim brought by a taxpayer in Barcelona necessarily ends before the High Court of Justice of Catalonia.
Interruption of the limitation period: why four years can become longer
One of the reasons why calculating how long do I have to challenge the Spanish Tax Agency can be complex is the interruption of the limitation period.
Where a valid ground for interruption arises, the period may start again.
Actions by the Tax Agency that may interrupt the period
For example, an administrative action formally brought to the liable party's attention and genuinely aimed at checking, regularising, assessing or collecting the relevant right may interrupt the limitation period.
We should not claim that every communication from the Spanish Tax Agency, however irrelevant, automatically restarts every tax deadline.
Its content, purpose and relationship with the specific tax obligation must be analysed.
Actions by the taxpayer
There are also taxpayer actions that have interrupting effects.
Depending on the right being analysed, the following may be relevant:
- Refund applications.
- Rectification of self-assessment tax returns.
- Appeals.
- Claims.
- Actions aimed at payment or discharge of a debt.
- Certain self-assessment tax returns or declarations.
After interruption, the period starts again
As a general rule, once a valid interruption has occurred, the limitation period starts to run again, without prejudice to the special rules established for certain judicial, insolvency or criminal proceedings.
The limitation period applies ex officio
There is another point worth clarifying.
The General Tax Act expressly states that the limitation period must be applied ex officio, even if the taxpayer does not invoke it.
In addition, an accrued limitation period extinguishes the relevant tax debt.
This does not mean that we should ignore the deadline during a procedure.
In practice, if we identify that a debt may be time-barred, we should analyse the case file and raise the issue to prevent actions that we consider improper from continuing.
Can the Tax Agency review tax years from more than four years ago?
Yes, in certain contexts, and this is one of the most important nuances in tax law.
The fact that the Tax Agency's right to issue an assessment for a specific tax year has become time-barred does not mean that everything that happened in that year is legally invisible forever.
The LGT allows certain checks to be carried out on facts from time-barred periods where they must have effects on obligations from non-time-barred tax years.
Negative taxable bases in Corporate Income Tax
The most important case is negative taxable bases.
These bases may be offset against positive income from subsequent tax years under Corporate Income Tax rules and, in general, there is no time limit for offsetting them.
However, this does not mean that the Tax Agency has an unlimited right to begin reviewing the tax year in which they arose.
Article 66 bis LGT establishes a 10-year period to begin the review of offset or pending-to-be-offset bases or tax credits, and certain deductions.
What happens after ten years?
Once that period has elapsed, if the taxpayer intends to apply an old negative taxable base, they must retain and provide the documents legally required to prove its origin.
For this reason, a company with old negative taxable bases may need to keep records for much longer than the standard four years.
How long can a tax inspection last?
The duration of an inspection procedure is different from the limitation period.
Unsure whether you still have time to make a claim? At Barcelona Tributario, we analyse your situation with no obligation and tell you exactly what deadline applies and how to act to recover what is yours.
Article 150 LGT currently establishes:
- 18 months, as a general rule.
- 27 months, where certain legally prescribed circumstances apply, such as particular annual turnover levels, membership of certain groups or some specific procedures.
There are also grounds for suspension and extension regulated in article 150 itself.
What happens if the Tax Agency exceeds the inspection deadline?
Non-compliance does not simply mean that the entire debt automatically disappears.
It has specific consequences for the procedure and for the interrupting effects of certain actions.
In some cases, correctly analysing these dates may be decisive in establishing whether part of the adjustment is time-barred.
Expiry of a procedure and limitation are not the same
This distinction also causes many errors.
A tax procedure may expire because the Tax Agency did not complete it within the legal time limit.
Expiry:
- brings that procedure to an end;
- does not necessarily mean that the Tax Agency's right has become time-barred;
- may allow another procedure to be started if time remains;
- and actions carried out in the expired procedure do not have certain interrupting effects on the limitation period.
Therefore, in the face of a check that has lasted too long, it is not enough to say “it has expired, so I do not have to pay”.
The limitation period must be recalculated.
Practical cases: how long do I have to challenge the Spanish Tax Agency?
I forgot a deduction in my Personal Income Tax return
If you discover that a Personal Income Tax self-assessment was detrimental to you because you omitted a deduction or incorrectly declared information, we need to check when the statutory filing deadline ended and whether the right has not yet become time-barred.
Currently, for periods to which it applies, the correction may be made through a corrective self-assessment tax return.
The Tax Agency has just sent me an additional assessment
Here, you should not think in terms of four years.
If you wish to appeal the assessment, the ordinary deadline may be one month from the day after notification.
The Tax Agency has imposed a penalty on me
The penalty also has its own appeal deadlines.
In addition, the Administration's right to impose tax penalties has its own four-year limitation period under the LGT penalty regime.
I paid a tax that I consider improper
There may be a route to apply for a refund, but we need to know:
- whether it was a self-assessment tax return;
- whether the payment arises from an administrative assessment;
- whether the act is final;
- when the payment was made;
- and which review routes remain open.
I have negative taxable bases from more than ten years ago
The fact that they are more than ten years old does not automatically mean that they can no longer be offset.
The ten-year limit refers to the Tax Agency's right to begin the specific review of those bases under article 66 bis.
Offsetting may still be possible, but their origin must be properly evidenced.
What happens if the one-month appeal deadline has already passed?
When the ordinary deadline passes without an appeal being filed, the act may become final.
This greatly limits review options, but it does not mean that every final act is entirely untouchable.
The LGT provides extraordinary routes for very specific circumstances.
Nullity as of right
Article 217 LGT allows certain acts affected by particularly serious defects to be reviewed.
This is an exceptional route, not a second chance to challenge any assessment that was not appealed in time.
Correction of errors
Material, factual or arithmetic errors may have their own correction procedure where the legal requirements are met.
Extraordinary review appeal
This may be used against final acts and final economic-administrative decisions in the limited circumstances under article 244 LGT.
These include:
- The emergence of certain essential documents.
- The use of documents or testimony subsequently declared false.
- Acts issued as a consequence of certain criminal conduct declared by a final judgment.
The deadline is three months from becoming aware of the relevant document or from the date the court judgment becomes final, depending on the circumstances.
What about electronic notifications from the Spanish Tax Agency?
For companies and other parties required to communicate electronically with the Administration, monitoring notifications is essential.
A mandatory electronic notification is deemed served when its content is accessed.
If it is not accessed, it may be considered rejected after ten calendar days from the date it is made available.
Therefore, failing to open the electronic mailbox does not prevent the appeal deadline from starting to run.
Why this is especially important for companies
A company may receive:
- Requests for information.
- Assessments.
- Penalties.
- Enforcement orders.
- Communications regarding verification procedures.
If nobody properly monitors notifications, the issue may be discovered after the one-month deadline has already expired.
VAT: how long do you have to deduct certain amounts?
VAT has its own rules.
As a general rule, the right to deduct input VAT may be exercised in the self-assessment for the period in which the right arises, or in subsequent periods within the deadline established by the rules.
In many cases, the limit is four years.
However, VAT corrections have particular features depending on whether they amend output VAT, a deduction, a taxable base or a complete self-assessment tax return.
For this reason, we do not recommend automatically applying the four-year rule to every VAT issue without first identifying what is intended to be corrected.
Corporate Income Tax: limitation, negative taxable bases and deductions
Corporate Income Tax is one of the taxes where it is most important to distinguish between different deadlines.
Assessment for the tax year
The Tax Agency's right to issue an assessment is generally subject to the ordinary four-year limitation period.
Negative taxable bases
The Administration has 10 years to begin their specific review under article 66 bis LGT.
However, the bases may continue to be offset in subsequent tax years in accordance with the Corporate Income Tax Act.
Documentation
Where old negative taxable bases or deductions are used, the evidential obligations may extend beyond the ordinary four-year period.
Taxes administered by the Catalan Tax Agency
Not every claim by a taxpayer in Barcelona is submitted to the AEAT.
In Catalonia, there are taxes administered by the Agència Tributària de Catalunya (ATC), including certain matters related to:
- Inheritance and Gift Tax.
- Property Transfer Tax and Stamp Duty.
- Wealth Tax, within the relevant framework.
The general limitation period derives from the General Tax Act, but the body before which a claim is filed and the specific procedure may vary.
For this reason, at Barcelona Tributario, we first identify which Administration issued the act before designing the challenge strategy.
How many years should I keep tax documentation?
The answer is not simply four years either.
The general tax limitation period must coexist with other legal obligations.
The Commercial Code generally establishes a retention period of six years for business books, correspondence, documentation and supporting records.
In addition, certain transactions may require documentation to be retained for longer.
In particular:
- Negative taxable bases.
- Pending deductions.
- Transactions with tax effects in subsequent tax years.
- Depreciable assets.
- Complex corporate transactions.
How we assess at Barcelona Tributario whether you can still make a claim
When a client asks us how long do I have to challenge the Spanish Tax Agency, we do not simply count back four years.
We review chronologically:
- Tax and period.
- Filing date.
- End of the statutory deadline.
- Payment date.
- Notifications received.
- Requests for information.
- Previous appeals.
- Verification or inspection procedures.
- Collection actions.
- Possible interruptions.
- Whether acts have become final.
Only then can we determine which right exists and until what date it may be exercised.
Documents it is advisable to gather before making a claim
To carry out this analysis, we recommend having the following available where relevant:
- The affected tax return or self-assessment.
- Proof of filing.
- Proof of payment.
- Notification from the Spanish Tax Agency.
- Exact date of receipt or electronic availability.
- Assessment.
- Penalty decision.
- Enforcement order.
- Appeals filed previously.
- Administrative decisions.
- Related invoices and contracts.
- Banking documentation.
- Accounts, where applicable.
An incomplete picture of the case file can lead to an incorrect calculation of the limitation period.
Common mistakes when calculating deadlines with the Spanish Tax Agency
Thinking that everything becomes time-barred exactly four years after payment
Incorrect. The starting date depends on the right being analysed.
Waiting four years to appeal an assessment
An assessment that has just been notified may have an appeal deadline of only one month.
Thinking that any letter from the Tax Agency interrupts every limitation period
The interrupting effects depend on the action and the right to which it relates.
Confusing suspension of a debt with limitation
Suspending collection while an appeal is processed and determining when a right becomes time-barred are different matters.
Thinking that time-barred tax years can never be examined
The Administration may investigate certain facts from time-barred tax years where they are relevant to non-time-barred obligations, within legal limits.
Believing that a negative taxable base disappears after ten years
The ten-year period in article 66 bis concerns the Administration's specific review, not an automatic expiry of the right to offset the base.
Legal sources used to calculate tax deadlines
To determine deadlines, we must primarily refer to:
- Act 58/2003, General Tax Act: articles 66 to 70 on limitation periods.
- General Tax Act: articles 120 onwards on self-assessment tax returns and rectification.
- General Tax Act: articles 222 onwards on reconsideration appeals.
- General Tax Act: article 235 on economic-administrative claims.
- General Tax Act: article 244 on extraordinary review appeals.
- General Tax Act: article 150 on the duration of inspection procedures.
- Act 29/1998, regulating the Contentious-Administrative Jurisdiction: article 46.
- Act 39/2015: rules on electronic notifications.
- Specific rules for each tax.
Legal content reviewed on 18 October 2026.
Conclusion: there is no single deadline for challenging the Spanish Tax Agency
If you are asking how long do I have to challenge the Spanish Tax Agency, the most important answer is that we must first identify what type of action you wish to take.
The general four-year period is fundamental in tax matters, but it should not be confused with the much shorter deadlines for challenging administrative acts.
In very general terms:
4 years may be the limitation period for certain tax rights; 1 month is the usual deadline for appealing many assessments and penalties; and 2 months is the ordinary deadline for bringing a judicial review appeal against certain express acts ending the administrative route.
In addition, an interrupting action may completely change the calculation.
At Barcelona Tributario, we analyse claims against the Spanish Tax Agency, verification and inspection procedures, and tax appeals. If you have an amount to recover or have just received a notification, we can review the full chronology of the case file to determine which deadline applies and what defence route remains open.
Frequently asked questions about how long you have to challenge the Spanish Tax Agency
Every year, the Spanish Tax Agency retains amounts that taxpayers are entitled to recover, but many lose them by failing to act in time. Speak with our specialists and do not let limitation close your opportunity.
