Is Moonlighting Illegal?
Short answer: No, moonlighting is not illegal under the law. However, it can violate your specific employment contract or company policy, which can lead to disciplinary action or termination, even though it is not a criminal offense.
Quick Answer
There is no general law against holding a second job anywhere in the United States. Moonlighting becomes a workplace issue, not a legal one, when it conflicts with your employer's specific policies, such as non-compete clauses, exclusivity agreements, or conflict-of-interest rules written into your employment contract.
Government employees and certain licensed professionals may face additional specific restrictions written into public employment regulations or licensing board rules, since these roles often carry heightened conflict-of-interest concerns. Private-sector workers, by contrast, are usually free to take a second job unless they signed something limiting that right. See also: is it legal to work off the clock, can you be fired for social media posts, and can employers read your private messages.
When It Is Illegal
Moonlighting itself is not a crime, but it can create legal or contractual problems when:
- It violates a signed non-compete or exclusivity agreement — potentially leading to a breach of contract lawsuit and financial damages.
- It creates a genuine conflict of interest — such as working for a direct competitor while employed elsewhere in the same industry.
- You use your primary employer's resources or time for the second job, which can separately constitute theft of services or grounds for immediate termination.
- It violates specific public employment rules — some government positions have strict outside-employment restrictions requiring prior written approval.
- It breaches a fiduciary duty — executives and certain high-level employees owe additional loyalty obligations that can make secondary employment legally risky.
- You disclose trade secrets or confidential information to the second employer, which can trigger separate legal claims entirely apart from the moonlighting itself.
See also: can employers read your private messages for how employers may discover a moonlighting conflict.
When It Is Legal
Moonlighting is legal when:
- Your employment contract does not restrict outside work — the default position for most hourly and non-executive employees.
- It does not involve a competing business or create any meaningful conflict of interest with your primary employer.
- It occurs entirely outside your primary work hours and does not use employer resources, equipment, or time.
- Your employer's policies explicitly permit secondary employment, sometimes with a disclosure requirement.
- You are a freelancer or independent contractor rather than a traditional employee, since these roles typically carry far fewer restrictions on additional work.
See also: is it legal to work off the clock for related rules on how your primary job must track and compensate your hours.
Possible Penalties
Consequences for violating a moonlighting policy:
- Termination: Most private-sector employees are "at-will" and can be fired for violating a company policy on outside work, even without any proven harm to the employer.
- Civil lawsuits: Breaching a signed non-compete agreement can lead to a lawsuit for damages, including lost profits attributable to the competing work.
- Disciplinary action: Written warnings or suspension for policy violations short of outright termination.
- Loss of benefits or bonuses: Some employment agreements tie eligibility for bonuses or benefits to compliance with exclusivity clauses.
- Injunctions: Courts can order an employee to stop working a competing second job while litigation over a non-compete is pending.
For comparison, see also: can you be fired for social media posts for how other off-duty conduct can similarly affect employment.
What Typically Happens
In most cases, an employer who discovers a policy violation will first issue a warning or request the employee resolve the conflict, particularly if there's no direct competition involved and the second job is minor.
If the moonlighting job directly competes with the employer or violates a signed agreement, termination is common, and in more serious cases involving trade secrets or direct competition, the employer may pursue a breach of contract lawsuit seeking damages or an injunction. Disputes involving government employees typically go through an internal ethics review process rather than the courts. See also: is it legal to work off the clock for how a second job can also create wage and hour complications.
How to Stay Safe
- Review your employment contract for any non-compete or exclusivity clauses before taking a second job.
- Avoid working for a direct competitor of your primary employer, even in an unrelated role.
- Keep your second job completely separate from your primary employer's time, equipment, and resources.
- Disclose outside employment proactively if your handbook requires it, rather than waiting for it to be discovered.
- Check public-sector or licensing rules if you work in government or a regulated profession.
- See also: is it legal to work off the clock and can employers read your private messages for related workplace rules.
Bottom Line
Moonlighting is not illegal under the law, but it can violate your employment contract and lead to termination or a lawsuit. Always review your contract and disclose outside work when required before taking on a second job.
Frequently Asked Questions
Can I be fired just for having a second job?
Yes, if your employer has a policy against outside employment or you signed an exclusivity agreement, they can generally terminate you for violating it.
Is it illegal to work two jobs at the same time?
No, there is no general law against working multiple jobs, though your employment contract may restrict it.
Can government employees have a second job?
It depends on the specific agency and role; many government positions have strict rules requiring approval before taking outside employment.
References
Disclaimer: This article is for informational purposes only and does not constitute legal advice. Laws vary by jurisdiction and change over time. Consult a licensed attorney for advice on your specific situation.
Last updated: 7/23/2026