In most of the United States, the short answer is yes: because nearly all private-sector workers are employed "at will," an employer can generally fire you for absences, including calling in sick, as long as the reason is not illegal. But there are important exceptions. If your absence is protected by a law like the Family and Medical Leave Act (FMLA), the Americans with Disabilities Act (ADA), a state or city paid-sick-leave law, or workers' compensation rules, firing you for it may be unlawful. The details depend heavily on where you work and why you were out.
The default rule: at-will employment
Every state except Montana follows "at-will" employment as the baseline. That means either you or your employer can end the relationship at any time, for any reason or no reason, as long as the reason is not specifically prohibited by law. Under this default, an employer can discipline or terminate you for missing work, showing up late, or calling out sick, even if your reason is completely legitimate and you have a doctor's note.
This surprises many people, but there is no general federal law that guarantees private workers any paid sick days or that forbids firing for ordinary absenteeism. The protections come from specific carve-outs. Your job is to figure out whether one of those carve-outs applies to your situation.
At-will status can also be limited by a contract or a union collective bargaining agreement. If you have a written employment contract, an offer letter promising "for cause" termination, or a union contract, read it carefully, those documents can require the employer to follow a progressive discipline process before firing you for attendance.
When firing for sickness or absence may be illegal
Several federal laws can transform an "ordinary absence" into protected leave. If any of these fit, a termination tied to your absence may be unlawful.
Family and Medical Leave Act (FMLA)
The FMLA, enforced by the U.S. Department of Labor's Wage and Hour Division, gives eligible employees up to 12 weeks of unpaid, job-protected leave per year for a serious health condition, to care for a close family member with one, or for the birth or adoption of a child. "Serious health condition" generally means an illness involving inpatient care or continuing treatment by a health care provider, so a bad flu that keeps you out for several days with a doctor's care can qualify, while a one-day cold usually does not.
The FMLA only covers you if your employer has at least 50 employees within 75 miles, you have worked there at least 12 months, and you have logged at least 1,250 hours in the prior year. If you qualify and use FMLA leave, your employer generally cannot fire you for those absences or retaliate against you for taking the leave. FMLA leave can be taken intermittently, in separate blocks of time, which is important for chronic or flare-up conditions.
Americans with Disabilities Act (ADA)
The ADA, enforced by the Equal Employment Opportunity Commission (EEOC), applies to employers with 15 or more employees. If your absences are caused by a disability, which includes many chronic physical and mental health conditions, the employer may be required to provide a "reasonable accommodation." Sometimes additional unpaid leave or a flexible schedule is itself a reasonable accommodation. Firing someone for disability-related absences without first considering accommodation can violate the ADA. The law requires an "interactive process," meaning you and the employer are supposed to discuss possible solutions, so it helps to actually request an accommodation in writing.
Pregnancy and related conditions
The Pregnancy Discrimination Act and the newer Pregnant Workers Fairness Act (both enforced by the EEOC) protect workers with absences or limitations related to pregnancy, childbirth, and related medical conditions. Time off for pregnancy-related medical needs may be protected, and employers must treat pregnancy-related limitations similarly to other temporary conditions.
Workers' compensation and on-the-job injuries
If you are absent because of a work-related injury, most states make it illegal to fire you in retaliation for filing a workers' compensation claim. These rules are set by state law and vary, but retaliation for a legitimate comp claim is widely prohibited.
Discrimination and retaliation
Even under at-will employment, an employer cannot use absences as a pretext to fire you because of your race, color, religion, sex, national origin, age (40+, under the ADEA), or disability. If similarly situated coworkers had the same attendance record but were not disciplined, that uneven treatment can be evidence of unlawful discrimination. Title VII, the ADEA, and the ADA are all enforced by the EEOC. Retaliation for protected activity, such as reporting harassment or taking legally protected leave, is also illegal.
State and local paid-sick-leave laws (this varies a lot)
This is the fastest-changing area. A growing number of states and many cities have passed paid-sick-leave laws that let you accrue and use sick time, and that prohibit firing or punishing you for using sick leave you have legally earned. The specifics, how much leave you accrue, what counts as a covered reason, how much notice you must give, and whether a doctor's note can be required, differ from one state and city to the next.
Because these laws genuinely vary by state and locality, you should check the rules for your specific state and city rather than assume a national standard. Where a paid-sick-leave law exists, using your protected sick hours for a covered reason is generally shielded, and retaliation for using them is typically unlawful. Where no such law exists, the at-will default usually controls. Your state labor department (and your city's labor or consumer affairs office) is the authority on local rules.