Thanks for reaching out Joel All Glock handguns are backward compatible when it comes to their magazines. A Gen 5 G17 mag will work in a Gen 4 just fine. Heck, use a Gen 4 or 5 mag in a Gen 1 G17 if you like.