"3G clearly wants to get both the dividends and the capital gains," said lawyer Charles Kolstad at Venable in Los Angeles. "Someone, who clearly knows what he or she is doing spent a lot of time thinking about this. And it's quite clever."
In the deal, 3G has opted for partnership units instead of common shares in the new entity. That move defers the capital gains tax hit it would have faced in the United States had it taken shares.
More significantly, if 3G controls its equity via a holding company in a country that has a tax treaty with Canada, as most tax experts say is likely to be the case, the investment firm will save millions in dividend withholding taxes each year.
Read MoreDC shurgs off Burger King deal: Have it your way
A spokesman for 3G declined to comment on Friday.
A combined Burker King/Tim Hortons will have a much larger float of outstanding shares. That will make it easier for 3G Capital to trim its majority position over time, giving it an exit strategy. The structure also lets the firm escape any Canadian capital gains taxes on share price appreciation, making the potential tie-up one whopper of a deal for the investment firm.
Shares of Burger King and Tim Hortons have soared since word of the deal leaked last Sunday. Burger King stock is up 17.6 percent since the Friday before.
Dividend withholding tax break
Canada does not have a tax treaty with the Cayman Islands, where 3G Capital is incorporated. Tax experts said it is a simple matter for 3G to hold its units via a firm in a country with a Canadian tax treaty, cutting its withholding taxes on dividends paid by Burger King to as low as 5 percent.
Withholding taxes on non-resident shareholders in a Canadian firm can run as high as 25 percent, while similar dividend taxes for non-resident investors in U.S. companies can hit 30 percent.
The differential in the dividend withholding tax rate clearly was a factor in the deal structure, Kolstad said.
Read MoreHow Burger King can avoid a brand backlash
"The ability to be able to re-route things through a treaty jurisdiction and cut your withholding tax rate from 30 percent down to 5 or 10 percent is huge,'' said Kolstad in L.A.
U.S. politicians have criticized the deal as a tax dodge by Burger King.
It is clear though that dividends will be a factor. The two firms made dividend payouts of nearly $230 million in 2013.
Read MoreWhat's behind the King-sized price for Tim Hortons
"Both companies have had pretty balanced capital structures and capital return policies in the past. And we're going to continue to have that," Burger King Chief Executive Officer Daniel Schwartz said this week, though he declined to give details on size.