The TAJ number (társadalombiztosítási azonosító jel) is the 9-digit number that identifies you in Hungary's public health insurance system. It comes on a TAJ card, which you show at the doctor, at the pharmacy and in hospital.
Having a TAJ number does not by itself mean you are insured. You are covered if you have a valid status: you are insured (for example as an employee, where your employer deducts and pays the social security contribution), you are entitled on another basis (for example as a child, a student or a pensioner), or you pay the health service contribution yourself. If none applies, you still have the number, but your status shows as "red" and you pay for treatment. You can check your status with NEAK, in person or online.
Once you are employed in Hungary, your employer registers you as insured, and the 18.5% social security contribution taken from your gross pay covers health care, pension and sick pay. Foreign employees get the number and card through the government offices (kormányablak) on behalf of the health insurance fund (NEAK) — ask your employer or HR which documents to bring.
EU/EEA citizens on a short stay may use their home country's European Health Insurance Card instead, but someone working in Hungary is normally insured here.
This is general information, not legal or tax advice.