The Azure SQL Database free tier is one of the easiest ways to start building and testing apps on Azure SQL. Each database gets a monthly allowance of free compute and storage, and it runs on the General Purpose serverless compute model. Because it's serverless, people often assume the free tier follows the same auto-pause settings as a regular serverless database. A question we hear a lot is: "I expected my database to pause after 60 minutes of inactivity, but it paused after about 15 minutes. Why?" This post explains what's going on and how to plan for it.
The Scenario
A developer builds an application on a free tier database. Everything works well: the app runs queries, the database responds, and life is good. 😊
Then the app goes quiet for a while. About 15 minutes later, the database is paused. When the app connects again, the database resumes automatically and carries on as normal.
Nothing is broken, and no data is affected. The only surprise is the timing, because the developer expected the 60-minute default auto-pause delay that applies to General Purpose serverless databases.
How Auto-Pause Works on the Free Tier
free-tier-autopause-timeline- Database active: Your application runs queries as usual.
- No activity: When activity stops, the idle timer starts.
- 15 minutes idle: On the free tier, this delay is fixed at 15 minutes.
- Auto-pause: Compute stops, so you aren't using your free vCore seconds.
- Auto-resume: The next connection wakes the database up automatically.
Free Tier vs. Regular Serverless
free-tier-vs-serverless-autopause| Free tier database | Regular serverless database | |
|---|---|---|
| Auto-pause delay | 15 minutes | 60 minutes (default) |
| Can you change it? | No, it's fixed by design | Yes, it's configurable (minimum 15 minutes) |
| Where it's set | Not exposed | Azure portal, Azure CLI or PowerShell |
| Depends on "when free limit is reached" setting? | No, it's the same for AutoPause and BillOverUsage | Not applicable |
Why 15 Minutes? It Works in Your Favor
The free tier gives each database 100,000 vCore seconds per month. Any time the database stays online while idle still uses that allowance.
Pausing after 15 minutes instead of 60 means:
- ✅ Less idle compute. The database stops sooner when nobody is using it.
- ✅ Your free allowance lasts longer. More of your free seconds go to real work.
- ✅ No action needed from you. The service handles it automatically.
Tips to Get the Most Out of the Free Tier
💡 Design for auto-resume. The first connection after a pause can take a little longer while the database resumes. Add retry logic for transient connection errors in your application.
💡 Close idle tools. Open connections from SQL Server Management Studio, the MSSQL extension for VS Code or query editors can keep the database awake and use up vCore seconds. Disconnect them when you're done.
💡 Track your free allowance. In the Azure portal, check the Free amount remaining metric on the database's Overview page. You can also create a free alert that warns you when you're running low.
💡 Need a different auto-pause delay? If your workload needs a longer delay or one you can set yourself, use a regular serverless database. There you can choose the auto-pause delay that fits your workload.
Key Takeaways
- Free tier databases auto-pause after 15 minutes of inactivity.
- The delay is fixed and can't be changed, whichever option you choose for when the monthly free limit is reached.
- The 60-minute default applies to regular serverless databases, not the free tier.
- The shorter delay helps your free monthly allowance last longer.
- The database resumes automatically on the next connection.
Conclusion
If your free tier database pauses after 15 minutes, it's working exactly as designed. The free tier uses a fixed 15-minute auto-pause delay so your free compute goes further. Keep this in mind when you choose a configuration, build your app to handle auto-resume smoothly, and enjoy building on Azure SQL for free! 🚀
📖 Learn more: