To set an out of office in Gmail, turn on the Vacation responder: Settings > See all settings > General, pick your dates, write a message, and save. It’s Gmail’s built-in auto reply, and it works the same way in the Gmail app for iPhone and Android.
For targeted auto replies, a template plus a filter answers specific senders or subjects. If you share a support@ address with a team, or want replies only outside business hours, jump to the shared inbox and after-hours sections: the Vacation responder can’t do either.
How to set out of office in Gmail (Vacation responder)
To set an out of office in Gmail, open Settings > See all settings > General, turn Vacation responder on, choose a first day and an optional last day, add a subject and message, and click Save Changes. Gmail then replies once to each person who emails you during those dates.
On desktop

- Open Gmail on your computer.
- Click the Settings gear at the top right, then See all settings.
- Stay on the General tab and scroll to the Vacation responder section.
- Select Vacation responder on.
- Set the First day and, if you know it, the Last day. Leave the last day blank and the reply runs until you turn it off.
- Fill in the Subject and Message.
- Optional: check Only send a response to people in my Contacts. Work and school accounts also have Only send a response to people in your domain, which limits the reply to your organization.
- Click Save Changes at the bottom of the page.
These are the steps in Google’s own help article, checked in October 2026.
On iPhone and iPad
- Open the Gmail app and tap the Menu icon at the top left.
- Tap Settings.
- Under Compose and Reply, tap Vacation responder.
- Turn Vacation Responder on.
- Enter the dates, subject and message. Optional: turn on Send only to my Contacts.
- Tap Save at the top right.
The setting is called Vacation responder on iPhone too. Some guides, and Google’s AI answers, still call it “Out of Office AutoReply”, but Google Help for iOS lists it as Vacation responder under Compose and Reply.
On Android
- Open the Gmail app and tap Menu at the top left, then Settings.
- Choose the account you want the reply on.
- Tap Vacation responder.
- Turn the Vacation responder switch on at the top.
- Fill in the dates, subject and message. Optional: check the box to reply to your contacts only.
- Tap Done.
The setting syncs, so turning it on from your phone turns it on everywhere.
When it starts, stops and repeats
Gmail’s out of office follows a few timing rules, all from Google’s help page:
- Whole days only. The reply starts at 12:00 AM on the first day and ends at 11:59 PM on the last day. There is no option for a start or end time.
- Once per sender, then every four days. Someone who emails you five times gets one reply. If they write again after four days and the responder is still on, they get it again.
- Editing re-sends it. If you change the message, people who already got the old version get the new one the next time they write.
- Add a subject to keep it out of the thread. With a subject line, your reply arrives as a separate email instead of inside the sender’s conversation.
- Spam and mailing lists are skipped. Mail that lands in spam, and mail addressed to a mailing list or Google Group you subscribe to, gets no reply.
- Your signature is added below the message automatically.
How to turn off out of office in Gmail
To turn off out of office in Gmail, click End now in the banner across the top of your inbox. Or go to Settings > General, select Vacation responder off, and click Save Changes. On the phone, switch Vacation responder off in the app. If you set a last day, Gmail turns it off for you at 11:59 PM that day.
A note on Google Calendar: an “Out of office” event can decline meeting invites during that time, and on work accounts it shows your status to colleagues, but it doesn’t send email replies. You still need the Vacation responder for email.
Out of office for a shared inbox like support@
The Vacation responder belongs to one person’s account. That’s fine for your own inbox, but it falls apart on a shared mailbox like support@, sales@ or info@:
- Whose responder is it? If three people read support@ through a Google Group or delegated access, nobody’s personal out of office covers the shared address. Customers get your vacation note, or nothing.
- Filters are per person. A template-and-filter reply lives in one teammate’s account and stops working when they leave or change roles.
- The reply isn’t the hard part. After the auto reply goes out, someone still has to pick the email up. Without assignment, two people answer the same customer, or nobody does.
A shared inbox handles this at the mailbox level instead. In Keeping, which works inside Gmail, you set one auto reply per shared mailbox, and it goes out no matter who is on holiday. Each email becomes a ticket with an owner, and collision detection shows when a teammate is already replying, so customers don’t get two answers. Use the auto reply to confirm receipt of customer emails, then let assignment handle the rest.
Our guide to a team inbox in Gmail compares the setups, and Keeping’s automation features cover auto replies, workflows and SLAs.
Gmail auto reply after hours
Gmail can’t send an auto reply only after hours. The Vacation responder works in whole days, from 12:00 AM to 11:59 PM, so it can’t reply outside 9 to 5 and stay quiet during the day. For an after-hours reply you need a weekend-only workaround, a script, or a shared-inbox tool that knows your business hours.
| Option | How it works | Trade-off |
|---|---|---|
| Vacation responder for weekends or holidays | Turn it on with Friday’s date as the first day and Sunday as the last | Covers full days only, so weekday evenings get no reply. You have to set it every week. |
| Google Apps Script with a time check | A script runs every few minutes and replies to new mail outside your hours | Needs someone who can write and maintain code. Runs in one person’s account, within Google’s daily script quotas. |
| Business-hours auto reply in a shared-inbox tool | The tool checks your business hours and sends the in-hours or out-of-hours message | A paid tool, but it covers the whole team’s mailbox, not just your own. |
How to set an after-hours auto reply in Keeping
Keeping’s auto reply follows your business hours, so support@ can send one message at 10 AM and a different one at 10 PM. The steps, from Keeping’s help docs on auto replies and business hours:
- In Keeping Settings, open the Organization tab and set your business hours: the open days, start and end times, and time zone.
- Go to Mailboxes and click the pencil icon next to the shared mailbox.
- Check Enable Automatic Replies.
- Under When to Send an Auto Reply, choose According to business hours.
- Write a message on the During Business Hours tab and another on Outside Business Hours, and set each to Enabled or Disabled.
- Click Save.

Source: Keeping’s Enable an autoreply help guide, retrieved October 19, 2026.
Each mailbox can override the time zone, and Keeping sends a customer at most one auto reply every 24 hours, so three emails overnight get one reply.
The auto reply doesn’t stop the clock. First response time excludes automated replies, so if you track help desk SLAs, a ticket that came in at 9 PM still counts as waiting until a person answers it. As of October 2026, auto replies are on Keeping’s Essentials plan and SLAs are on Advanced.
After-hours template for a shared support address
Keeping’s auto replies accept variables, so the reply can greet the customer by name and quote their ticket number:
Hi {{customer.first_name | default: "there"}},
Thanks for getting in touch. Our team is offline right now. We're here Monday to Friday, 8 AM to 5 PM Eastern, and we'll reply first thing on our next working day.
Your ticket number is {{ticket.id}}. If you write again, keep this subject line so we can find your request.
[Company name] Support
Using plain Gmail? Drop the two variables and paste the rest into a template.
After-hours auto replies for support@
Keeping sends one auto reply inside business hours and another outside them, per shared mailbox, right in Gmail. Free for 14 days.

How to set up auto reply in Gmail with templates and filters
To set up an auto reply in Gmail for specific senders or subjects, save your reply as a template, then create a filter that matches those emails and choose Send template. Unlike the Vacation responder, a filter replies to every matching email with no four-day limit, so keep the criteria narrow.
Step 1: Turn on templates

- Click the Settings gear, then See all settings.
- Open the Advanced tab.
- Next to Templates, select Enable.
- Click Save Changes. Gmail reloads.
Step 2: Create a template

- Click Compose.
- Write the reply you want to send, and leave the To field empty.
- Click the three-dot menu at the bottom right of the compose window, then Templates > Save draft as template > Save as new template.
- Name it something you’ll recognize, like “Pricing auto reply”, and click Save.
Step 3: Create a filter that sends it

- Click the Show search options icon at the right of the search bar.
- Enter your criteria, for example:
- From: one address, or a whole domain like
@example.com - Subject: words such as “pricing” or “quote”
- Has the words: a phrase from the email body
- From: one address, or a whole domain like
- Click Create filter.
- Check Send template and pick your template.
- Click Create filter.
To auto-reply to one specific person, put their address in the From field. That’s the only way to target an individual: the Vacation responder replies to everyone, or only to your contacts.
You can edit or delete these later under Settings > Filters and Blocked Addresses. For more filter ideas, see our guide to Gmail filters and rules. You can also send mail through Gmail aliases and give each address its own filter.
Auto replies for a whole Google Workspace domain
The Google Admin console has no switch for turning on someone else’s out of office. Routing rules can add recipients or change messages, but they don’t send automatic replies. Admins set a user’s Vacation responder through the users.settings.updateVacation method in the Gmail API, or with GAM, the command-line admin tool that wraps the same API.
The usual reason is an employee who has left. Set their responder to point people to a new contact, and forward their email to whoever takes over. For customer-facing mail, a shared address with its own auto reply ages better than a departed person’s account.
Gmail auto reply templates you can copy
These templates work in the Vacation responder or as saved templates for filters. Keep yours to five sentences or fewer. For more customer-service examples, see our automated response email examples.
1. Standard out of office
Best for: Vacation responder
Thanks for your email. I'm out of the office from [start date] to [end date] with limited access to email.
I'll reply when I'm back. If you need help sooner, please contact [colleague name] at [email].
Best,
[Your name]
2. Parental leave
Best for: Vacation responder
Thank you for reaching out. I'm on parental leave and will return on [date].
Until then, please contact [colleague name] at [email] for anything that can't wait.
Thanks for your patience,
[Your name]
3. Customer support acknowledgment
Best for: Template + filter (emails to support@)
We've received your message and a member of our team will get back to you within [timeframe, e.g., 24 hours].
If this is urgent, you can reach us at [phone number] during business hours ([hours]).
Thanks for reaching out,
[Company name] Support
4. Sales inquiry response
Best for: Template + filter (subject contains “pricing”, “demo” or “quote”)
Thanks for your interest in [product/company name]. We've received your inquiry and someone from our team will follow up within one business day.
In the meantime, you can see our pricing at [URL] or book a demo at [calendar link].
Best,
[Company name] Sales
5. Job application received
Best for: Template + filter (subject contains “application” or the job title)
Thank you for applying to the [position] role at [company name]. We've received your application and our hiring team will review it within [timeframe].
We'll be in touch if we'd like to move forward. Thanks for your interest in joining our team.
Best,
[Company name] Hiring Team
6. Seasonal or holiday hours
Best for: Vacation responder
Thanks for your email. Our team is on reduced hours for [holiday/season] from [start date] to [end date].
Replies may be slower than usual. We'll be back to full speed on [return date].
Happy [holiday],
[Company name]
7. Conference or event
Best for: Vacation responder
I'm at [conference/event name] from [dates] and will have limited email access.
I'll reply when I'm back on [return date]. For anything urgent, please reach out to [colleague name] at [email].
Best,
[Your name]
8. After hours
For a shared support address, use the after-hours template above. Gmail’s own responder can’t send it only outside business hours.
9. Quote or pricing request
Best for: Template + filter
Thank you for requesting a quote. We've received your details and a member of our sales team will prepare a custom quote within [timeframe].
If you have other requirements or questions, reply to this email and we'll include them.
Best,
[Company name]
10. Internal team (out sick or unavailable)
Best for: Vacation responder (with the contacts-only or organization-only box checked)
I'm out today and may not be checking email. If this is blocking your work, please reach out to [colleague/manager name] or post in [team chat channel].
I'll follow up when I'm back.
Thanks,
[Your name]
Best practices for out-of-office messages
A good out of office tells the sender three things: you got their email, when they’ll hear back, and who to ask if it can’t wait.
- Lead with the acknowledgment. “Thanks for your email” answers their first question.
- Give a return date. “I’m back on March 15” beats “I’m currently away”.
- Name a backup contact. A name and an email address, so nobody is stuck.
- Keep it short. Three to five sentences. Nobody reads a three-paragraph out of office.
- Set a reminder to turn it off, or set a last day so Gmail does it for you.
For more ways to tidy up your inbox, see our Gmail productivity tips.
Troubleshooting Gmail auto reply issues
Out of office not sending
- Is it saved? Go to Settings > General and confirm Vacation responder on is selected. Forgetting Save Changes is the most common miss.
- Check the dates. If the first day is tomorrow, nothing goes out today. If the last day has passed, Gmail has already switched it off.
- Contacts-only box. If it’s checked, anyone not in your contacts gets nothing.
- The four-day rule. Testing from the same address twice won’t trigger a second reply. Use a different account.
- Mailing lists and spam. Mail sent to a Google Group or list, or caught as spam, never gets a reply.
People got my out of office twice
You probably edited the message. Gmail treats an edited reply as new, so anyone who writes again gets the updated version.
The reply shows up inside the conversation
If your reply appears in the sender’s existing thread, add a subject line. With a subject, Gmail sends the out of office as a separate email.
Template filter not auto-replying
- Templates are off. Check Settings > Advanced and confirm Templates is enabled.
- The template is gone. If you renamed or deleted the template, the filter silently stops sending. Edit the filter and pick it again.
- Criteria don’t match. Run the same criteria as a search first. No results means the filter won’t match either.
Frequently asked questions about Gmail out of office
Can you set an out of office on Gmail?
Yes. Gmail’s out of office is called the Vacation responder, and it’s under Settings > See all settings > General on desktop, or Settings > Vacation responder in the Gmail app. It works on free Gmail and Google Workspace accounts.
Can I turn on Gmail out of office email from my phone?
Yes. In the Gmail app on iPhone or iPad, open Menu > Settings and tap Vacation responder under Compose and Reply, then tap Save. On Android, open Menu > Settings, choose your account, tap Vacation responder, and tap Done. The setting syncs with Gmail on the web.
How do I schedule out of office in Gmail?
Set a First day and a Last day in the Vacation responder and save it ahead of time. Gmail starts replying at 12:00 AM on the first day and stops at 11:59 PM on the last. You can’t pick a time of day, so an after-hours reply needs Apps Script or a shared-inbox tool with business hours.
How do I turn off out of office in Gmail?
Click End now in the banner at the top of your inbox, or go to Settings > General, select Vacation responder off, and click Save Changes. On the phone, switch Vacation responder off in the app settings. Filter-based auto replies keep running until you delete the filter.
Can you send an auto-reply to a specific email address on Gmail?
Yes, with a template and a filter. Save your reply as a template, create a filter with that address in the From field, and choose Send template. The Vacation responder can’t target one person. It replies to everyone, or to your contacts only.
Do you still receive emails when automatic reply is on?
Yes. The Vacation responder only sends a reply. Every message still arrives in your inbox as normal, so you have a full backlog waiting when you get back.
How often does Gmail send auto replies to the same person?
The Vacation responder replies to each sender once. They get it again if they write after four days while it is still on, or if you edit the message. Filter-based template replies have no limit and send on every matching email.
What’s the difference between vacation responder and templates?
The Vacation responder sends one message to everyone during a date range, at most once per sender every four days. Templates with filters send a specific reply to emails that match your criteria, with no date range and no frequency limit. Use the responder for time off and templates for ongoing replies.
How do I set up an auto reply for a shared mailbox in Gmail?
Gmail has no mailbox-level auto reply for a shared address, so each person’s responder or filters only cover their own account. A shared-inbox tool such as Keeping sets one auto reply per mailbox, with separate messages inside and outside business hours.
Does Gmail auto reply work with Google Groups?
No. The Vacation responder doesn’t reply to mail addressed to a mailing list or Google Group you subscribe to, which stops reply storms. A filter can still match group mail, so be careful: a template reply to a group message goes to the whole group.
Automated email responses for your whole team
Keeping turns support@ into a shared help desk inside Gmail, with business-hours auto replies, assignment, shared notes and SLAs. Free for 14 days.





