Tax deductibility of a master's degree in VAT and personal income tax for the self-employed

  • The VAT on a university master's degree or postgraduate degree is usually exempt and, in addition, the DGT requires direct and exclusive allocation to the activity in order to be able to deduct it.
  • In personal income tax (IRPF), the cost of the master's degree can be a deductible expense if there is a clear and proven correlation between the training and the income from the economic activity.
  • Deductibility always requires valid invoices, accounting records and correct time allocation, with the final valuation left to management and inspection.
  • The Administration is very strict with expenses of possible mixed use (training, vehicles, housing, mobile phones), so proof of professional impact is crucial.

Training and tax deductions

In recent years, the General Directorate of Taxes (DGT) It has been refining its criteria through several binding consultations, including the very recent one V1473-25, dated August 6, 2025This study analyzes whether a self-employed real estate agent can deduct the cost of a Master's degree in Law and Legal Representation from VAT and income tax. Along with other inquiries regarding training, housing use, vehicles, and social media, it paints a fairly comprehensive picture of how the tax authorities approach these types of expenses.

Master's degree VAT deduction: direct impact and educational exemption

In the area of ​​VAT, the first thing the DGT makes clear is that the taxpayer, as self-employed real estate agentShe qualifies as a businessperson or professional for the purposes of Law 37/1992 on VAT (Articles 4 and 5 of the VAT Law), as she carries out the economic activity of real estate intermediation. Therefore, the transactions she performs in the course of this activity are subject to the tax.

The problem arises when analyzing the nature of the educational service which constitutes the master's degree. Article 20.One.9 of the Spanish VAT Law (LIVA) establishes an exemption for school, university, and postgraduate education, as well as for certain professional training and retraining activities, provided they are delivered by a public entity or an authorized private center. This regulation transposes Article 132 of Directive 2006/112/EC, which the Court of Justice of the European Union has interpreted in several rulings regarding the definition of "education" and the limits of the exemption.

That means that, if the Master's Degree in Law and Solicitorship is taught by a university or authorized centerTypically, tuition fees are exempt from VAT. In practice, students will not see any tax reflected in their invoices, precisely because the training itself is not subject to actual taxation, even though it is formally taxed and therefore exempt.

This exemption has a very important consequence: when a transaction is exempt from VATThe taxpayer who bears that VAT (if any) cannot exercise the right to deduct it, in accordance with Articles 93 and 94 of the VAT Law. The system of deductions is based on the idea that input VAT is offset by output VAT on taxable, non-exempt transactions. If no tax is charged at the next stage, there is no "chain" to maintain.

Even assuming, in the theoretical case, that the master's degree were not exempt and a VAT rate on the invoiceThe DGT (Spanish Directorate General of Taxes) points out that Article 95 of the VAT Law limits the right to deduct VAT to goods and services directly and exclusively related to business or professional activity. This strict allocation criterion is the one used to deny the VAT deductibility of the master's degree in the case of the real estate agent.

The Administration considers that a Master of Law and Procurement It is not directly and exclusively linked to real estate brokerage activities. In their opinion, this legal training can be used for broader purposes, including personal goals or general professional development, and cannot be identified as an instrument used exclusively within the real estate agency. Since the requirement of direct and exclusive use is not met, any VAT incurred would not be deductible.

Master's degree tax deduction: correlation between expenses and income

In personal income tax (IRPF), the situation changes considerably, because the key is no longer so much whether or not the educational transaction is exempt, but rather... relationship of spending to economic activityArticle 28 of Law 35/2006 on Personal Income Tax establishes that the net income from economic activities is determined following the rules of Corporate Income Tax (Art. 10 LIS), with the particularities of Article 30 LIRPF for the direct estimation method.

The central concept in this tax is the so-called principle of correlation between income and expensesAccording to the Spanish Corporate Income Tax Law (LIS), the taxable base is calculated starting from the accounting profit and adjusting it according to tax regulations, always respecting the correlation between income and expenses. Therefore, only those expenses incurred in the course of business and that reasonably contribute to generating income can be deducted.

In consultation V1473-25, the DGT leaves the door open to the possibility that the cost of the master's degree could be a tax-deductible expense in IRPF, provided that the taxpayer proves that the training is directly related to their real estate activity and that it really helps them to expand or improve the services they offer (for example, legal advice in real estate transactions).

However, the DGT insists that verifying this correlation is not a matter of abstract law, but a subject of evidence and concrete factsIt is not the advisory body that should decide whether, in practice, that master's degree has had an impact on the billing or the service portfolio of the self-employed, but rather the management and inspection departments of the Tax Agency, which will be able to review documents, contracts, invoices and the accounting itself.

For the master's degree expenses to be deductible for personal income tax purposes, it is essential that they meet the general requirements for any business expense: adequate documentary justification through a full or simplified invoice, registration in the mandatory books, and correct timing of allocation. If the registration fee is paid over several years, the cost will be allocated to each period in accordance with the accrual rules of Article 11 of the Corporate Income Tax Law, unless the taxpayer has expressly opted for the cash basis accounting method provided for in the Personal Income Tax Regulations.

When the taxpayer adopts the general accrual basis of accounting, the income and expenses These expenses are attributed to the fiscal year in which they are incurred, regardless of when they are paid, as long as the correlation between the two is maintained. If the master's degree is billed over two years, the usual practice is to distribute the expense across those same fiscal years, based on the portion accrued in each.

Other DGT queries on training and deductible expenses

The DGT's criteria regarding the deductibility of postgraduate studies are not limited to the case of the real estate agent. In the consultation V2939-18, dated November 14, 2018The case of a self-employed worker pursuing a master's degree related to their work, paid for over two years, is analyzed. Again, it is assumed that the activity is declared under the direct estimation method, and it is reiterated that expenses can only be deducted if they are linked to the income generated by the activity.

That resolution again emphasizes that the verification of the master's degree link The assessment of income falls under the purview of the Tax Inspection, and the Tax Authority does not evaluate the specific case. It is also emphasized that the expense must be supported by the corresponding invoice and duly recorded in the accounting books. If the requirements are met, the cost of the master's degree can be deducted as it accrues in each tax year, unless the taxpayer has opted to recognize income and expenses based on receipts and payments.

This same reasoning is repeated in more recent consultations, such as the V1163-25, dated July 1, 2025In this case, a professional who teaches online asks if they can deduct the costs of university studies (bachelor's, master's, and doctoral degrees) used to improve their teaching qualifications. Here, the Spanish Tax Agency (DGT) distinguishes between income classified as employment income (when the teacher simply teaches courses organized by a third party) and income considered from economic activities (when they organize courses independently and assume the financial risk).

When training is linked to economic activities, the deductibility criteria The requirements are the same: correlation with income, adequate justification, accounting records, and correct timing of income recognition. If this relationship is not proven, the deduction is lost. Once again, the burden of proof rests with the taxpayer, who must demonstrate how the master's degree or specific course helps them improve the teaching they offer as a professional activity.

In addition to master's degrees, the DGT has addressed other expenses that generate many doubts among the self-employed, such as those derived from social media and online advertisingIn ruling V1139-25, dated June 30, 2025, the case of a professional who uses various social media platforms to promote her business is analyzed, and the question is raised as to whether these expenses are deductible for personal income tax purposes. The answer again revolves around the same principle: they will be deductible to the extent that their connection to obtaining income is proven and they meet the formal requirements for justification and registration.

In this regard, the Tax Office points out that the use of social media to advertise the activity can fit perfectly as a deductible expenseprovided it can be proven that it serves a business purpose and not merely a private one. If this connection is proven, the total amount of advertising expenses on social media may be deducted when determining the net income from the activity.

Vehicles, housing and equipment: the mirror in which training is seen

To better understand the level of scrutiny applied by the tax authorities when analyzing the deductibility of a master's degree, it is helpful to look at other typical expenses of the self-employed, such as... vehicles involved in the activity, the home where one works or the electronic equipment.

in consultation V1394-25, dated July 21, 2025The Spanish Tax Agency (DGT) is investigating the case of an insurance agent who leases a car and wants to know if they can deduct the expenses from their income tax (IRPF). The DGT points out that, according to Article 22.4 of the Personal Income Tax Regulations (RIRPF), only in certain specific cases is it permissible for a vehicle to be used simultaneously for private and professional purposes with partial deductibility. For all other activities, such as that of an insurance agent, exclusive use of the vehicle for business purposes is required to allow the deduction.

Thus, leasing expenses, maintenance, fuel and other tourism costs These expenses will only be deductible if the taxpayer proves that the vehicle is used exclusively for business purposes. If the vehicle is not used exclusively for business purposes, no deduction is possible. If the lease meets the requirements of Article 106 of the Spanish Corporate Income Tax Law (LIS), the finance charge and the portion of the lease payments that represents the recovery of the asset's cost may be deducted, within certain limits. If these requirements are not met, the finance charge and an equivalent depreciation amount, calculated according to the applicable tables, will be deductible.

The DGT also analyzes cases related to the primary residence partially affects the activityIn ruling V1293-25, dated July 11, 2025, it is explained that when a self-employed individual works from their rented home, they can deduct a portion of the rent proportional to the area used, subject to the general rules of correlation, justification, and registration. A similar provision applies to utility expenses (water, electricity, internet, telephone) according to rule 5 of article 30.2 of the Spanish Personal Income Tax Law (LIRPF): a deduction of 30% of the proportional part of the square meters dedicated to the business activity is permitted, unless a different percentage is proven.

As for the computers, mobile phones and other electronic equipmentRuling V1233-25, dated July 4, 2025, reiterates that fixed assets used in business activities can be considered deductible through depreciation, provided their exclusive or predominant use for business can be demonstrated. In the case of mobile phones, the Spanish Directorate General of Taxes (DGT) has reiterated in several rulings (V0601-14, V2382-13, V2400-13) that expenses are only deductible if the line is used exclusively for business, which again raises a classic problem of proof.

Taken as a whole, a very clear common thread emerges: the Administration is especially strict with anything that can have mixed use (Professional and private). Vehicles, mobile phones, housing… and also training. In all these cases, either exclusive use or a clear correlation with income is proven, or the Tax Agency will tend to deny the deduction.

Tax deduction for master's degrees for salaried employees and the self-employed

So far we have talked mainly about the self-employed, but it is important not to lose sight of the situation of the employed workersGenerally, an employed person who pays out of pocket for a master's degree or training course cannot deduct that expense on their income tax return. The national income tax system does not include a specific deduction for these studies because it understands that educational funding is channeled through other means, such as scholarships or direct grants.

There are some isolated exceptions at the regional level, such as the case of CataloniaUnder certain provisions, interest on loans for postgraduate studies can be deducted, but not the cost of the master's degree itself. Outside of these very specific cases, salaried employees who cover their own educational expenses cannot deduct them from their income tax.

Another question is when it is the company that pays for the master's degree For an employee, if the training goes beyond what the company is legally obligated to provide under labor regulations or subsidized training programs, the cost of the master's degree is considered a benefit in kind for the employee. In practice, this amount is added to the salary and taxed as employment income, even though the employee does not receive the money in cash, but rather it is used directly to pay for tuition.

The most common examples are MBAs or highly specialized master's degrees that companies offer to high-potential employees, sometimes making the support conditional on the employee remaining with the company for a minimum period. From the employee's income tax perspective, the value of that training It is included in the taxable base, and there is no additional deduction to compensate for that increase.

However, for the self-employed, the situation is different: training expenses, including Master's degrees, seminars, conferences or refresher coursesIt can be included as a deductible expense for the business activity, provided there is a direct relationship between the course content and the work performed. For example, an architect could deduct a master's degree in energy efficiency or project management, but not a cooking or guitar course without a professional connection.

The DGT (Spanish Directorate General of Traffic) insists that there is no "special deduction for self-employed training," but rather that these expenses fall under general business expenses. Therefore, the same rules as always apply. correlation with income, justification and recordIf these conditions are met, the time and money invested in training can reduce the taxable base of the activity and, therefore, the self-employed person's tax bill.

Practical keys to assessing the tax deductibility of a master's degree

If a professional is considering enrolling in a master's program and wants to know the potential tax implications of that expense, they should ask themselves a few preliminary questions. The first is very straightforward: Does the master's degree have a clear relationship with the activity you already carry out? If the training is aimed at improving or expanding services related to the current activity, the chances of deducting the expense in personal income tax increase significantly.

Secondly, it is important to analyze whether the master's degree will allow provide new billable services to retain regular clients or open a new line of business connected to the existing activity. For example, in the case of a real estate agent pursuing a master's degree in law, it will be much easier to claim the deduction if she starts offering specialized legal advice on real estate contracts, claims, complex leases, etc., and clearly reflects this in her billing and on her professional website.

It is also key to preserve all the documentation relating to trainingThe following should be included: the master's program, learning objectives, list of subjects, advertising for the institution, client contracts highlighting the new service provided as a result of the training, and of course, the official invoice for the course and its accounting record. The clearer it is that the master's degree is not a personal whim but an investment in the business, the stronger the argument will be before the tax authorities.

Regarding VAT, most university and postgraduate master's degrees taught by authorized centers will be exempt from tax, meaning there will be no deductible amount in any case. If we were dealing with training subject to VAT and not exempt, the filter of Article 95 of the VAT Law on the direct and exclusive affectation It would again set the bar very high for allowing the deduction of input VAT, especially when it comes to knowledge that the professional can also use outside of their activity.

In the case of personal income tax, the experience reflected in all these consultations points to a fairly clear pattern: when there is clear and well-documented professional relationshipThe tax authorities tend to accept the deductibility, at least in principle. However, when the relationship is debatable or the master's degree seems more like an investment to change careers or improve employability in general, the criteria become more restrictive and the deduction is jeopardized.

This whole set of criteria, consultations, and nuances shows that the deductibility of a master's degree for VAT and, above all, for personal income tax purposes, depends less on generic labels and more on the economic and legal reality of each caseWhat does the professional do, what purpose does the training serve, how do they integrate it into their service offering, and what evidence can they provide if an inspector comes knocking? Well-planned and documented, training can be a valuable deductible expense for the self-employed; if it's presented as a mere personal supplement unrelated to the business, the tax authorities will treat it as a non-deductible outlay.

Related article:
Spaniards will demand a loan to spend the holidays