• Sometimes, you'll see that you're getting fired from a mile away — other times, it'll be more of a surprise.

• In order to avoid getting caught unawares, keep in mind the signs that your job is at risk.

• Everything from bad performance reviews to recent mergers can prove to be warning signs.

Getting fired from your job can be a real shock to the system.

But there are usually signs that you're about to get fired. You've just got to know where to look.

Maybe your boss is out to get you. Maybe you've been embroiled in some recent controversy at work. Or maybe your organization is undergoing a massive transition or merger.

Either way, it helps to be prepared.

Lynn Taylor, a national workplace expert and the author of "Tame Your Terrible Office Tyrant: How to Manage Childish Boss Behavior and Thrive in Your Job," told Business Insider that the savviest professionals always keep an eye out for the classic signs that their job is in danger. This way, if and when they notice red flags popping up, they can attempt to turn the tides before it's too late.

Here are some signs you may be getting the boot:

You receive a bad performance review (or two, or three)

You're left out of the loop

Your job has become mission impossible

"When you first assumed the role, you had your marching orders and could accomplish them. Now it seems that you’re tasked with projects akin to climbing Mount Everest blindfolded," said Taylor.

"You're being set up to fail," Kerr explained. "Sometimes this is due to lousy leadership, but occasionally it can be because a company wants to get rid of you, but they need solid evidence to do so, and setting you up for disaster is one way of getting the 'proof' you longer belong there."

Your boss has 'warned' you (more than once)

Formal warnings are never a good thing. "You may have received a verbal warning, a written warning, and maybe even a second written warning," says Taylor. If you have, know that more bad news may be coming your way.

Your relationship with your boss has deteriorated

You're asked to provide detailed reports about time or expenses

Fewer projects are coming your way

Here's a bad sign: You suddenly have a lot of time on your hands because not a lot of work is being assigned to you. "As you try to secure normal work, it seems it's hard to get cooperation from your boss and other managers," Taylor said. "They're suddenly making your work life difficult."

Teamwork isn't your strong suit

Your boss is on your case all the time

Are you constantly being asked for progress reports? Do you find that your boss constantly monitors your work?

If so, you may want to start looking for a new job, says

You're being micromanaged or ignored

It seems that you're working in extremes. Either your boss is watching your every step, or they're nowhere to be found. "Either way, it makes for a highly uncomfortable environment," Taylor explained. "If they're watching over you, you feel a lack of trust. If they're ignoring you, then you are in a seemingly endless state of inertia on your project status."

Your perks start to disappear

You're no longer praised for your work

Even if you performed a miracle never before witnessed by a mortal being, it seems your boss wouldn't acknowledge it now. "To do so would run contrary to the campaign underway to remove you from the company," explained Taylor.

You've received a pay cut or been asked to take time off

If you've been asked to take a leave of absence, you probably have something to worry about. "This is a major sign that things aren't well, even if it's under the guise of being what's 'best for you,'" said Kerr. "It's the equivalent of a dating couple 'taking a break for a while' — and we all know how that usually ends."

You notice more gossip and strange behavior from your coworkers

When people seem to shy away from you, and you notice it most from people with whom you shared a friendship, it probably means something's up. "Oftentimes when coworkers hear rumors about someone being fired or even reprimanded, they stay away to avoid 'guilt by association,'" Taylor said.

Your boss goes directly to your subordinates

This sign is similar to "being left out of the loop" — but even worse. "Most organizations have a chain of command, and when it is disrupted, it is a clear indication that you are no longer needed,"

Your access to certain data is limited

When a company is preparing to let someone go, they sometimes limit or revoke the employee's access to certain accounts a bit prematurely.

Beware if your email password no longer works or you've been locked out of your company's intranet, said Taylor.

You’re no longer asked for input on key decisions.

There was a recent merger, but little information.

After a merger, it's not uncommon for a company to make layoffs— sometimes even massive layoffs, Kerr said.

Your instincts are telling you something's wrong

"If you feel you've done everything you can, but still have that 'I might get fired' feeling, you're probably right, and it's likely time to move on," Andy Bailey of business coaching service Petra Coach told Business Insider. "You may be an 'A' player, but it might have to be somewhere else. Begin seeking out other positions that better reflect your personality and work ethic."

Ketti Salemme of TINYPulse, an employee survey product, also told Business Insider that it's important not to disregard your own instincts.

"Sometimes the sign can be nothing more than a gut feeling," Salemme said. "Whether it be a shift in the company culture, your job duties, or your relationship with colleagues, this can be indicative enough that you may soon be let go."

Jacquelyn Smith contributed to a previous version of this article.