Didn't actually keep it for it didn't work with my D3100, but does for D3200. Check the model numbers on the product details. I wish I had. I bought a different type, which although not as neat does work (Oppilass)
Hello, I have a Friend does have a 5100 and it works on his so as the upgrade it should work.
answered on 7 April 2014
I'm pretty sure, but not absolutely certain, that it will work with the 5200 but to be sure visit www.kenrockwell.com and search on Nikon 5200.