Unless Moto has changed their warranty, it's 12 months for the first User that activates the phone. If the previous owner never activated the phone you would still have the original 12 month warranty. If they did then the Moto warranty does not transfer. I've been asked that question when selling a brand new phone on Swappa, and have asked the seller that when buying a phone there that was listed as New. I think there is a spot on their website where you can check to see if the warranty is still good, if you have an account with them. I'll see if I can find the link.
Sent from my XT1585 using Tapatalk