Social media is where you speak your mind. But if you work for the federal government, posting the wrong thing at the wrong time can land you in serious trouble.
The Hatch Act, a federal law, restricts political activity for federal employees to maintain public trust in a neutral civil service. This post breaks down what the law actually says, what kinds of posts can violate it and how to protect both your voice and your job while staying online.
What does the Hatch Act say about political activity online?
The Hatch Act treats political activity as anything you do to help or hurt a political party, candidate or group tied to one. That includes more than just posting a campaign sign or making a donation — it extends to digital actions like liking, sharing or commenting on politically charged content.
Once you’re using social media, even something that feels casual can be viewed as partisan participation, especially when you post while on duty or using federal resources.
When are you allowed to post about politics?
You can engage in political discussions online, but only if you do it while off duty, outside the workplace and without using any government equipment. That means no political posts during your lunch break if you’re still at your desk and no resharing campaign content from your government-issued phone.
Even small gestures, such as reacting to a political meme or using a campaign hashtag, count as political activity under the law. If you are in uniform, in a federal building or representing your agency, you are expected to stay neutral.
What kind of posts can get you in trouble?
The most common violations involve sharing partisan content while on the clock or appearing to use your position to influence elections. That includes promoting a candidate, posting slogans tied to a political campaign or even identifying your federal title on a profile where you’re making political statements. Agencies don’t look at intent — they look at optics. If your actions suggest favoritism, even indirectly, that can trigger a Hatch Act violation.
Does your position fall under the rules?
Not all federal roles carry the same restrictions. If you hold a policy-making, law enforcement or intelligence position, you are subject to stricter rules. In these roles, you can’t engage in political activity even on your own time. If you are unsure which category your job falls under, your agency’s ethics office can clarify the specific boundaries that apply to you — and it’s always better to ask than guess.
Before you post, ask yourself this
You don’t need to erase your political views. You just need to be smart about how and when you share them. The Hatch Act doesn’t silence you; it just draws a boundary between personal advocacy and public service. Before you hit post, pause for a second. Are you using personal time and is your message neutral enough to avoid any partisan hint? If you can answer yes, then you’re on the safe side — and you’re doing your part to keep public service fair and trusted.