m54 swap into 1975 e12 520i
Posted: Tue Jan 27, 2026 4:33 am
I’m swapping an m45b30 into my 1975 e12 520i. I found lots of info about e28s with m52 swaps and some with m54, but not much of anything on e12s. There differences from the e28 seem to be just enough to make most of it irrelevant, so I thought I’d post some info here in case someone else is doing the same project.
Here’s what I started with.
From the start, a 4 cylinder was a challenge. The different front panel cut down space, but it was what I had to work with. My 520i has been a track car since 2000 and became track only in about 2007. I went down the path of building a really high spec “race” engine with high compression, big cams, big valves, ITBs, etc, etc and it was fantastic…for two track days before blowing up! It’s been off the track since 2015 and I wanted a reliable engine, I could leave stock, but still make good power. My “new” track car is an e46 320ci with an m54b30 swapped in. This is my fourth e46, so I’m pretty familiar with them and really like the m54's smooth power. The m54b30 is 10 kW more powerful than my m535i’s m90 but is around 60 kg lighter (depending on which source you read).
Another complicating factor is that I’m in Australia, so my car is right hand drive. This put all the steering components in the way of the exhaust.
The first step was actually to check the driveline angles of the donor car. There’s a lot of opinions and guides online, but I couldn’t find any actual factory specs, so we were looking at 1-3 degrees, parallel crank/gearbox and diff and rear section of tailshaft at least 1 degree different. Diff and engine came out at 2.5 degrees and rear half of tail shaft at 3.2 degrees. Keep in mind, this is not absolute. We didn’t have a reference, so essentially, just the 0.7 degree difference was what we knew.
We then took the radiator, fuel supply system, computer and exhaust manifolds from the e46 to use in the e12.
We finally took the engine and gearbox out of the e12. Once this works, I’ll sell off the m10 parts to recoup some cash.
We trial fitted the engine to make sure it would actually fit (and as practice for the next 20 times we’d put it in!). The engine leveler is an absolutely essential tool. It would be hell without it.
With proof it would physically fit, I had to remove the radiator mount. It’s the 4 cylinder one that moves the radiator closer to the engine so the fan worked. That first cut was tough, but once I got started, it went pretty easily.
We had to take the oil pan off as you need the front sump. I ordered one, but it was coming from Belarus, so was weeks away. Luckily, I had a spare engine that came out of the 320ci, so it didn’t matter that the oil pan was off. The oil pick up and dip stick are also different. The “new” pan came with the right oil pick up but I’ll have to work something out for the dip stick.
We then fitted the engine again and made some temporary engine mounts.
Engine back out and fitted the gearbox. We’re using the ZF S5-31 that came in the 330ci (and other things). I see a lot of m50/m52 swaps that use the smaller gearbox. I already have that set up in the e46 320ci with an m54b30 and the gearbox is already suffering. I wanted to do it properly and use the right gearbox. This caused a fair amount of extra work as it is a bit larger.
I'll post more info as we go along. I've got the gearbox and shifter in, and I'll post some updates with videos and pics once I have them.
Wish me luck!
Here’s what I started with.
From the start, a 4 cylinder was a challenge. The different front panel cut down space, but it was what I had to work with. My 520i has been a track car since 2000 and became track only in about 2007. I went down the path of building a really high spec “race” engine with high compression, big cams, big valves, ITBs, etc, etc and it was fantastic…for two track days before blowing up! It’s been off the track since 2015 and I wanted a reliable engine, I could leave stock, but still make good power. My “new” track car is an e46 320ci with an m54b30 swapped in. This is my fourth e46, so I’m pretty familiar with them and really like the m54's smooth power. The m54b30 is 10 kW more powerful than my m535i’s m90 but is around 60 kg lighter (depending on which source you read).
Another complicating factor is that I’m in Australia, so my car is right hand drive. This put all the steering components in the way of the exhaust.
The first step was actually to check the driveline angles of the donor car. There’s a lot of opinions and guides online, but I couldn’t find any actual factory specs, so we were looking at 1-3 degrees, parallel crank/gearbox and diff and rear section of tailshaft at least 1 degree different. Diff and engine came out at 2.5 degrees and rear half of tail shaft at 3.2 degrees. Keep in mind, this is not absolute. We didn’t have a reference, so essentially, just the 0.7 degree difference was what we knew.
We then took the radiator, fuel supply system, computer and exhaust manifolds from the e46 to use in the e12.
We finally took the engine and gearbox out of the e12. Once this works, I’ll sell off the m10 parts to recoup some cash.
We trial fitted the engine to make sure it would actually fit (and as practice for the next 20 times we’d put it in!). The engine leveler is an absolutely essential tool. It would be hell without it.
With proof it would physically fit, I had to remove the radiator mount. It’s the 4 cylinder one that moves the radiator closer to the engine so the fan worked. That first cut was tough, but once I got started, it went pretty easily.
We had to take the oil pan off as you need the front sump. I ordered one, but it was coming from Belarus, so was weeks away. Luckily, I had a spare engine that came out of the 320ci, so it didn’t matter that the oil pan was off. The oil pick up and dip stick are also different. The “new” pan came with the right oil pick up but I’ll have to work something out for the dip stick.
We then fitted the engine again and made some temporary engine mounts.
Engine back out and fitted the gearbox. We’re using the ZF S5-31 that came in the 330ci (and other things). I see a lot of m50/m52 swaps that use the smaller gearbox. I already have that set up in the e46 320ci with an m54b30 and the gearbox is already suffering. I wanted to do it properly and use the right gearbox. This caused a fair amount of extra work as it is a bit larger.
I'll post more info as we go along. I've got the gearbox and shifter in, and I'll post some updates with videos and pics once I have them.
Wish me luck!