The code for Amazon basic safe is generally 1-5-9. It's the factory code for most Amazon basic safes. The code works 80% of the time and if it doesn't, just contact Amazon.