How long did the US occupy the former Axis countries after World War 2?

I believe to this day there are still air force bases in Germany (certain about this one), Japan, Italy. If you mean a large scale occupation, I would think around 2 to 3 years - that's a guess.