KO · EN

How to track time spent outside with an iPhone

Updated 2026-11-30 · By Leeo

With an Apple Watch, Time in Daylight in the Health app is the easiest. With an iPhone alone, nothing built in records it automatically, so use a Shortcuts automation that logs when you leave and return home, or keep a log by hand.

Step by step

  1. Have a watch? Check Health
    Series 6 or later, SE (2nd generation) and Ultra track time in daylight automatically. See Apple Watch Time in Daylight.
  2. Create a personal automation
    In Shortcuts ▸ Automation ▸ + ▸ Leave ▸ set the location to Home. Choose Run Immediately so it doesn't ask each time.
  3. Log the time to a note
    Add Current Date → Append to Note (for example a note called “Outside log”) with the word “Out”.
  4. Do the same when you arrive
    Make a second automation for Arrive ▸ Home that logs “In”. The gap between the two is your time out.
  5. Know the limits
    This measures time away from home, so the subway, the office and cafés all count as outside. It isn't time in daylight.

Comparing the options

MethodGoodNot so good
Apple Watch Time in DaylightAutomatic, based on real brightnessNeeds a supported watch; sleeves block it
Shortcuts location automationFree, automaticCounts indoor time away from home; you do the math
Manual logYou know exactly what you didEasy to forget

A faster way: Sunny Sunflower: Sun Battery

Sunny Sunflower measures brightness from the front camera's exposure data while the app is open, and starts counting once outdoor-level light continues. Time spent indoors is left out, so only time in real daylight adds up (no photos are taken or saved, and you can adjust the brightness threshold). With an Apple Watch it also adds Health's Time in Daylight for the hours the app wasn't open, and you can add missed time by hand. Each day is saved to a calendar with a mood emoji and a note, and you can export it as CSV.

Get it on the App Store About the app

Free to download · tracking, goals and history are free; widgets and monthly stats are Pro

FAQ

Does iPhone track daylight on its own?

No. Time in Daylight in Health comes from Apple Watch.

Can step count tell me how long I was outside?

Only roughly. It can't tell walking indoors from walking outdoors.

Doesn't using the camera drain the battery?

Sunny Sunflower only reads brightness while the app is open, so battery use is about the same as keeping the screen on. With an Apple Watch, the Health integration covers the rest.

Related guides