There's an investment tactic on Wall Street called merger arbitrage. It isn't meant to produce eye-catching home runs, instead focusing on getting a lot of reliable singles. On the surface, merger arbitrage seems like it would be easy, but iRobot (IRBT 13.15%) and Spirit Airlines (SAVE) show it can be harder than it seems.

Here's why you need to be careful buying into mergers and acquisitions, noting that United States Steel (X 0.67%) looks like it could be the next pain point for investors.

There's no such thing as a free lunch

The logic behind merger arbitrage is pretty simple. When one company agrees to buy another company, it usually has to pay a premium for that company's shares. Once the potential for a deal is leaked to Wall Street, the price of the company being acquired normally jumps higher. When a deal is actually announced, the price of the company to be acquired tends to rise right up to, but not actually all the way to, the offer price.

A hand drawing two lines, one twisted, complex, and confusing and the other straight and easy to understand.

Image source: Getty Images.

So, there's often a small discount between the market price of a company being bought out and the buyout price. That discount is normally just a percentage point or two, nothing to write home about. But if you buy the shares and the deal is consummated as expected, that small discount turns into an easy profit. Repeat that process enough times and you start to create some real gains.

At this point, you might think you could do this just as well as a Wall Street pro. And to some extent, that's true. But there's one small wrinkle here that you need to think about. Why does the discount between the market price and the offer price even exist? The answer is that, sometimes, deals fall through. And when that happens, that fallout can be very, very ugly.

Some painful examples of busted deals

Mergers fall apart all the time and in every industry. Take a look at the price chart for technology stock iRobot below. Notice the big price jump at the beginning of the period when Amazon (AMZN 3.43%) agreed to buy the robot maker. And then, the stock started to trend lower before dropping drastically toward the end when the deal was called off. The companies strongly hinted that the problem was getting regulatory approval, a fact that weighed on iRobot's stock almost from the very start.

IRBT Chart

IRBT data by YCharts.

As if that's not bad enough, the very same day that the deal was called off, iRobot announced a business overhaul. The list of moves included cost-saving initiatives, reduced research and development spending, and staff cuts, among other things. Simply put, iRobot appears to have been a struggling company that really needed Amazon to buy it or it was going to come under increasing financial strain. If you bought this stock thinking that the Amazon deal was in the bag, you would have found your bag had a giant hole in it.

The deal between airline Jetblue (JBLU 1.05%) and Spirit Airlines was similar in that Spirit was a struggling company being bought by a stronger one. Spirit shares plunged when that deal was scuttled, largely because regulators appeared unlikely to approve it.

Just recently, meanwhile, shares of U.S. Steel fell sharply over concerns that Japanese steel giant Nippon Steel won't receive the regulatory approvals needed to buy the iconic American steelmaker. This is just a quick list of recent deals that have gone or could go wrong.

There's more to merger arbitrage than meets the eye

As each of the examples above shows, it simply isn't as easy as it looks to do merger arbitrage. You have to make an assessment of the chances that the deals you invest in will actually be completed as planned. Very often, that is what transpires, but calling one deal wrong could leave you with huge losses. The problems above were all related to regulatory issues, but financing and adverse business or industry developments can also lead to broken merger and acquisition agreements.

To be fair, merger arbitrage specialists do more than just buy the stock of the company being acquired. The process can involve shorting shares, buying shares, and even options trades. The added transactions, which materially increase complexity, are mostly meant to protect against the risk of a failed deal.

If you like the idea of merger arbitrage, you should check out a specialist like Merger Fund (MERFX), which allows you to invest in a diversified portfolio of merger arbitrage opportunities. Small investors, however, probably shouldn't try this approach on a one-off basis, as the risk/reward balance isn't skewed in your favor nearly as much as you may think.