How to Track Vehicle Registration, Inspection and Insurance Due Dates in Google Sheets with Reminders (2026)
Every vehicle carries a few dates that are easy to forget until someone gets pulled over: the registration expiry, the state safety or emissions inspection, the insurance renewal and, for commercial trucks and trailers, the annual DOT inspection. Each vehicle runs on its own cycle, and the renewal notices go to whatever address was on file, so the more vehicles you have (a small business fleet, a contractor's trucks and trailers, a family's cars), the easier it is for one to slip. This guide builds one Google Sheet with a row per vehicle and a column per due date, adds formulas that work out inspection due dates and show what is coming up, and gives you a free Apps Script that emails the right people one list of what is due, with a preview mode so you can check it before anything goes out.
The rules differ, so the sheet just holds dates. Registration renewal cycles, inspection and emissions requirements and their grace periods differ by state, county and vehicle type, and some vehicles have no inspection at all. Check your state's motor vehicle agency for each vehicle and type in the dates it gives you; the sheet doesn't try to know the rules. The one rule this guide uses is federal: under 49 CFR 396.17, a commercial motor vehicle may not be used unless it passed a periodic (annual) inspection within the preceding 12 months, and each unit counts separately, so a tractor and its trailer each need one. The inspection report must be kept for 14 months (49 CFR 396.21).
Step 1: a Vehicles tab with one row per vehicle
Name the tab Vehicles. The script finds columns by their header, so the order is up to you, but the formulas below assume this layout:
| Col | Header | What goes in it |
|---|---|---|
| A | Vehicle | A name people recognize: unit number, “Van 3”, “Blue pickup”, “Trailer 12” |
| B | Plate | Plate number and state, like ABC-1234 (optional, shown in the email) |
| C | Who handles it: the driver, the office, or both, separated by commas. Blank = the script owner, or DEFAULT_TO. | |
| D | Status | Blank while the vehicle is in use. Sold, Retired, Disposed, Totaled, Returned, Scrapped or Off lease stop the reminders. |
| E | Registration expires | The expiry date on the registration card or renewal notice |
| F | Inspected on | Date of the last safety inspection (optional, used by the formula in G) |
| G | Inspection due | Typed, or worked out from F (see below) |
| H | Emissions due | Only where an emissions test applies; leave blank otherwise |
| I | Insurance expires | Policy end date from the insurance card or declarations page |
| J | DOT annual due | Commercial vehicles only: when the next annual (periodic) inspection is due |
| K | Sent log | Leave empty; the script records what it sent |
Delete the columns you don't need: the script reminds on whichever of Registration expires, Inspection due, Emissions due, Insurance expires and DOT annual due it finds, and ignores blank cells and text like “N/A”. To add another date, like a parking permit or toll tag, add a column and a line for it in DUE_COLUMNS. Format the date columns as dates (Format › Number › Date) and give Status a Data › Data validation dropdown so it is spelled the way the script expects.
Inspection due from the last inspection. If inspections are good for a year from the inspection date, put this in G2 and fill down:
=IF(F2="","",EDATE(F2,12))
Where a passed inspection is good through the end of the month a year later, which is how a state inspection counts toward the federal annual inspection under 396.17(f) (12 months from the last day of the month it was done), use the end of the month instead, so an inspection on March 10, 2026 shows as due March 31, 2027:
=IF(F2="","",EOMONTH(F2,12))
Use the shorter of the two if you are not sure, and change 12 to 24 for a two-year cycle. The same works for a DOT annual inspection date in column J if you add a column for when it was last done. If a sticker only shows a month and year, type the first of that month and wrap it in EOMONTH(...,0) to get the last day.
Next thing due per vehicle. Add a helper column with the earliest date in the row, and one with the days left:
=IF(COUNT(E2,G2:J2)=0,"",MIN(E2,G2:J2)) =IF(L2="","",L2-TODAY())
(Here in L2 and M2. G2:J2 skips column F because the last inspection date is in the past.)
Step 2: see what is coming up
Select E2:J, open Format › Conditional formatting, choose Custom formula is, and add these rules in this order:
| Custom formula | Color | Meaning |
|---|---|---|
=REGEXMATCH(LOWER($D2),"^(sold|retired|disposed|totaled|totalled|returned|scrapped|off lease)$") | Grey text | Gone from the fleet, no reminders |
=AND(ISNUMBER(E2),E2<TODAY(),E$1<>"Inspected on") | Red | Overdue |
=AND(ISNUMBER(E2),E2>=TODAY(),E2<=TODAY()+30,E$1<>"Inspected on") | Amber | Due in the next 30 days |
The relative E2 (no $) makes each cell check its own date, and the header test keeps the past “Inspected on” dates from turning red.
Every vehicle with something due in the next 60 days, soonest first, on a summary tab (uses the helper columns L and M from Step 1):
=SORT(FILTER({Vehicles!A2:B, Vehicles!L2:M}, ISNUMBER(Vehicles!L2:L),
Vehicles!L2:L<=TODAY()+60,
NOT(REGEXMATCH(LOWER(Vehicles!D2:D),
"^(sold|retired|disposed|totaled|totalled|returned|scrapped|off lease)$"))),
3, TRUE)
How many registrations expire in a given month, so you can plan the renewals (change the date in the first line):
=LET(m, DATE(2027,1,1), COUNTIFS(Vehicles!E2:E, ">="&m, Vehicles!E2:E, "<="&EOMONTH(m,0)))
Step 3: email reminders before each due date
Google Sheets doesn't send email when a date arrives; its notification rules react to edits, not to the calendar. A short Apps Script with a daily trigger does it. Open Extensions › Apps Script, paste this and save. Then:
- Run
sendVehicleRemindersonce and approve the permissions.PREVIEWistrue, so every email goes to you, with the real recipients in the subject, and nothing is logged. - Read the preview emails. When they look right, set
PREVIEW = falseand save. - Add the trigger: Triggers › Add trigger › sendVehicleReminders › Time-driven › Day timer, for example 7 to 8 AM.
/**
* Vehicle registration, inspection and insurance reminders from a "Vehicles"
* tab: one row per vehicle (or trailer), one column per due date.
* Headers used (any order): Vehicle, Plate, Email, Status, Sent log, plus any
* of the date columns listed in DUE_COLUMNS. Vehicle, Sent log and at least
* one date column are required. Email can hold several addresses, comma-separated.
* Each address (or group of addresses) gets one email per run listing
* what is coming up or overdue. Renewed? Type the new date: the reminders
* for that column start over.
*/
const SHEET_NAME = 'Vehicles';
const DUE_COLUMNS = { // header: days before the date
'Registration expires': [45, 14, 3],
'Inspection due': [30, 7, 1],
'Emissions due': [30, 7, 1],
'Insurance expires': [30, 7],
'DOT annual due': [30, 14, 3],
};
const OVERDUE_DAYS = [1, 7, 14, 30]; // days after the date, until it is updated
const DEFAULT_TO = ''; // used when Email is blank; blank = you
const STOP_STATUS = /^(sold|retired|disposed|totaled|totalled|returned|scrapped|off lease)$/i;
const PREVIEW = true; // true: everything goes to you, nothing is logged
const MAX_EMAILS = 50; // safety cap per run
const LOG_KEEP = 30; // entries kept in each Sent log cell
const SUBJECT = 'Vehicle paperwork due: {{Count}} ({{Overdue}} overdue)';
const INTRO = 'Hi,\n\nThese registrations, inspections and policies are due soon or overdue:';
const OUTRO = 'Once it is renewed or the vehicle has passed, type the new date in the sheet and the reminders for that item stop. Sold or retired the vehicle? Set its Status and it gets no more email.';
function sendVehicleReminders(now) {
const lock = LockService.getDocumentLock();
if (!lock.tryLock(30000)) return; // another run is still going
try {
// A time-driven trigger passes an event object, so only use a real Date.
return remind_(now instanceof Date ? new Date(now) : new Date());
} finally {
lock.releaseLock();
}
}
function remind_(now) {
const ss = SpreadsheetApp.getActive();
const sh = ss.getSheetByName(SHEET_NAME);
if (!sh) throw new Error(`No tab named ${SHEET_NAME}.`);
const rows = sh.getDataRange().getValues();
const head = rows[0].map((h) => String(h).trim());
const col = (name) => head.indexOf(name);
const c = { veh: col('Vehicle'), plate: col('Plate'), to: col('Email'), status: col('Status'), log: col('Sent log') };
const dues = Object.keys(DUE_COLUMNS).filter((h) => col(h) !== -1).map((h) => ({ h, i: col(h), steps: DUE_COLUMNS[h] }));
if (c.veh === -1 || c.log === -1 || !dues.length) {
throw new Error('Need Vehicle and Sent log columns and at least one date column from DUE_COLUMNS.');
}
// Count days in the spreadsheet's own time zone (File > Settings).
const tz = ss.getSpreadsheetTimeZone();
const ymd = (d) => Utilities.formatDate(d, tz, 'yyyy-MM-dd');
const dayNum = (d) => Date.UTC(...ymd(d).split('-').map((x, i) => +x - (i === 1 ? 1 : 0))) / 86400000;
const today = dayNum(now);
const isDate = (v) => v instanceof Date && !isNaN(v);
const EMAIL = /^[^\s@,;]+@[^\s@,;]+\.[^\s@,;]+$/;
const me = Session.getEffectiveUser().getEmail();
const groups = {};
let badEmail = 0;
for (let r = 1; r < rows.length; r++) {
const row = rows[r];
const text = (i) => (i === -1 ? '' : String(row[i]).trim());
if (text(c.veh) === '' || STOP_STATUS.test(text(c.status))) continue;
const sent = String(row[c.log] || '').split(';').filter(String);
const hits = [];
for (const d of dues) {
const due = row[d.i];
if (!isDate(due)) continue; // blank, "N/A" or text: nothing to remind
const left = dayNum(due) - today; // negative = overdue
const steps = d.steps.concat(OVERDUE_DAYS.map((n) => -n));
// The one step that fits today: no pile of earlier ones after a gap,
// and an overdue item never gets a "before" reminder.
const hit = steps.filter((s) => left <= s && (left >= 0 || s < 0)).sort((a, b) => a - b)[0];
if (hit === undefined) continue;
// Keyed to the column and its date: a new date starts over.
const key = `${d.h} ${ymd(due)}@${hit}`;
if (sent.includes(key)) continue;
const when = left > 1 ? `in ${left} days` : left === 1 ? 'tomorrow' : left === 0 ? 'TODAY' :
left === -1 ? 'OVERDUE by 1 day' : `OVERDUE by ${-left} days`;
hits.push({ left, key, what: `${d.h} ${Utilities.formatDate(due, tz, 'EEE, MMM d, yyyy')} (${when})` });
}
if (!hits.length) continue;
const list = (text(c.to) || DEFAULT_TO || me).split(/[,;]/).map((s) => s.trim().toLowerCase()).filter(String);
if (!list.length || !list.every((a) => EMAIL.test(a))) {
badEmail++; console.log(`Row ${r + 1}: check the Email column`); continue;
}
const to = [...new Set(list)].sort().join(',');
const name = text(c.veh) + (text(c.plate) ? ` (${text(c.plate)})` : '');
const g = (groups[to] = groups[to] || { to, n: list.length, items: [], rows: [] });
hits.forEach((h) => g.items.push({ r: r + 1, left: h.left, line: `- ${name}: ${h.what}` }));
g.rows.push({ r: r + 1, log: sent.concat(hits.map((h) => h.key)).slice(-LOG_KEEP).join(';') });
}
// Most urgent group first, in case the quota runs out.
const order = Object.values(groups).map((g) => {
g.items.sort((a, b) => a.left - b.left || a.r - b.r);
g.worst = g.items[0].left;
return g;
}).sort((a, b) => a.worst - b.worst);
let sent = 0;
for (const g of order) {
if (sent >= MAX_EMAILS || MailApp.getRemainingDailyQuota() < (PREVIEW ? 1 : g.n)) break;
const overdue = g.items.filter((i) => i.left < 0).length;
const subject = SUBJECT.replace('{{Count}}', g.items.length + (g.items.length === 1 ? ' item' : ' items'))
.replace('{{Overdue}}', overdue);
const body = [INTRO, '', ...g.items.map((i) => i.line), '', OUTRO, '', `Sheet: ${ss.getUrl()}`].join('\n');
MailApp.sendEmail({
to: PREVIEW ? me : g.to,
subject: PREVIEW ? `[PREVIEW to ${g.to}] ${subject}` : subject,
body,
});
sent++;
if (!PREVIEW) {
// Log right after each email, so a crash can't cause a repeat.
g.rows.forEach((x) => sh.getRange(x.r, c.log + 1).setValue(x.log));
SpreadsheetApp.flush();
}
}
const result = { sent, left: order.length - sent, badEmail, preview: PREVIEW };
console.log(JSON.stringify(result));
return result;
}
How it behaves:
- One email per recipient. Each run, everyone with something new gets a single list covering all their vehicles, most urgent first: “Van 3 (ABC-1234): Registration expires Thu, Dec 31, 2026 (in 45 days)”. A row with several addresses in Email sends one email to all of them, and the group with the most urgent item is emailed first.
- Different lead times per date. Registrations get reminders 45, 14 and 3 days before (renewing by mail takes time), inspections and emissions tests 30, 7 and 1 day before, insurance 30 and 7 days before, DOT annual inspections 30, 14 and 3 days before. Change
DUE_COLUMNSto suit, for example to start earlier where inspection appointments book up. - After the date. If nothing changes, a reminder goes 1, 7, 14 and 30 days after (
OVERDUE_DAYS), marked OVERDUE, then the script goes quiet for that item. - Renewed or passed? Type the new date. The Sent log is keyed to the column and its date, so once you enter the new expiry or the new inspection date, the reminders for the old one stop and the cycle starts again for the new one. The other dates on the row are not affected. Sold the vehicle? Set Status and the row gets no more email.
- No pile-up. A vehicle added late, or a few days without the trigger, gets only the latest reminder that applies, once. An overdue item never gets a “before” reminder.
- Safe to rerun. Rows are logged right after each email, a document lock stops two runs overlapping, at most
MAX_EMAILSgo per run, and it stops before your daily Apps Script email quota runs out (100 recipients a day on a personal Gmail account, 1,500 on Google Workspace; an email to two people counts as two). Anything left goes on the next run. The log keeps the last 30 entries per row.
Tips
- Record the date on the document. Type the expiry printed on the registration card, sticker or policy, not the date you renewed, and update the row when the new card arrives rather than when you pay, so a renewal that never went through keeps reminding.
- Keep personal data out. The sheet only needs a vehicle name, plate and dates. Leave out driver's license numbers, policy numbers and full VINs unless you need them, and share the sheet only with the people who renew things. The last 6 characters of the VIN are usually enough to tell vehicles apart.
- Several states or locations. Add a State or Location column for filtering; the script doesn't need it. Vehicles registered in different states can have very different cycles, which is exactly why each row holds its own dates.
- Mileage-based service is a different job. Oil changes, tires and other service by miles or engine hours are covered in maintenance schedule reminders, which rolls the next due date forward from a service log. For driver licenses and medical cards, see the license and certification tracker.
- Check the time zone. The script counts days in the spreadsheet's time zone (File › Settings › Time zone), and the triggers fire in the Apps Script project's time zone (Project Settings).
- Ownership. Triggers run as whoever created them, and the emails come from that account. Set them up from a shared office account, not one person's, so they keep working when someone leaves.
See SheetReminders
Short on time? Watch the 50-second version
Related Google Sheets guides
- How to generate a PDF or Google Doc for each row in Google Sheets
- Find and remove duplicates in Google Sheets
- Compare two columns or two sheets for duplicates
- Find case-insensitive and fuzzy duplicates in Google Sheets
- Best Autocrat alternatives for mail merge to PDF and Docs
- Make invoices or certificates from Google Sheets rows
- Create sales quotes or estimates from Google Sheets
- Generate receipts from Google Sheets rows
- Create purchase orders from Google Sheets
- Make packing slips from Google Sheets orders
- Generate a PDF certificate from a Google Form response
- Issue numbered training completion certificates with expiry dates
- Make a PDF progress report for each student
- Generate offer letters from a Google Sheets hiring tracker
- Generate contracts and agreements from a Google Docs template
- Make work orders for service jobs from Google Sheets
- Email each row’s PDF as an attachment
- Automatic email reminders from a date column
- Contract renewal and expiration alerts from Google Sheets
- Track certificate of insurance (COI) expirations in Google Sheets
- Track employee license and certification expirations
- Track equipment and vehicle maintenance with reminders
- Equipment sign-out sheet with due-back and overdue reminders
- Track warranty expiration dates with reminders
- Birthday and work anniversary reminders from Google Sheets
- Rent due and lease renewal reminders from Google Sheets
- Send invoice payment reminders from Google Sheets
- Highlight overdue tasks and send email reminders
- Follow-up reminders for leads, clients and candidates
- Membership renewal reminders for clubs and associations
- Appointment reminder emails for clients
- Probation and performance review reminders for managers
- Inventory expiration dates with email alerts
- Domain and SSL certificate renewal reminders
- Name badges and place cards from a guest list
- Vehicle registration, inspection and insurance reminders
- Event sign-in sheets and table seating lists
- Pet vaccination expiry reminders for owners
- Customer account statements with aging
- Subscription tracker with renewal and free-trial reminders
- Mailing labels: one per household, clean addresses
- Volunteer shifts: open slots, reminders and rosters
- Year-end donor giving statements, one PDF per donor
- Volunteer hours verification letters, one PDF per request
- Instrument calibration due dates with email reminders
- Pay stubs from a payroll sheet, one PDF per employee
- Gift certificates with codes, balances and a redemption log
- Bill due dates: mark paid, 30-day totals and reminders
- Grant deadlines: LOIs, reports, owners and reminders
- Passport expiry: trips, the 6-month rule and renewal reminders
- Class rosters: one PDF per class, A–Z, with seat counts
- Insurance renewals: premium changes and reminders
- Onboarding checklists: tasks from start dates, owner reminders
- Raffle tickets: numbered stubs, seller books, sales tracker
- SheetWeave vs Autocrat
- SheetWeave vs Document Studio
- SheetWeave vs RowDocs
Instructions refer to Google Sheets, Apps Script and the federal rules cited as they stood on November 15, 2026. Not legal advice, and not affiliated with Google, the FMCSA, any state motor vehicle agency or insurer. Google Sheets is a trademark of Google LLC. Registration, inspection and insurance requirements vary by state and change, so verify each vehicle's dates with the issuing agency or insurer. Questions or corrections: hello@loomwise.app.