You cannot make a cafe's sign-in last longer from your Mac, because the venue decides how long a session runs. What you can do is make the next sign-in quick: keep the network saved, know what the page wants, and avoid the few Mac settings that make the portal forget you.
Most of the "it logged me out again" moments come from three places: a timer on the cafe's side, your Mac showing up as a new device, or a connection that dropped and reconnected quietly.
Why the page keeps coming back
A captive portal is a gate the router keeps in front of the internet. When you finish the sign-in page, the router marks your device as allowed for a set time. When the time ends, or the router forgets you, the gate closes and the next request lands on the sign-in page again.
The sign-in is a pass with an expiry time, and the cafe prints the time, not you.
That time is the venue's choice. Some cafes allow a full day, some an hour, and some reset everything at closing. Nothing in macOS can lengthen it.
What can make it worse
Some sign-outs are not the timer at all. A few things on your side make the router treat you as someone new.
Usually harmless
- Closing the laptop lid for a short while
- Switching between tabs and apps
- Leaving the Wi-Fi saved in your network list
Often a fresh sign-in
- The Wi-Fi dropping and rejoining after a long sleep
- A changed network address for your Mac
- Closing the sign-in window before the page confirms
Your Mac's network address
Most portals remember a device by the address your Mac uses on that network. macOS uses a Private Wi-Fi Address, which is a good privacy default, and on some versions it changes now and then. If the address changes, the cafe sees a new device and shows the page again. You can see the setting in System Settings, Wi-Fi, then Details on that network. Leave it on unless you have a reason; it protects you on every network you join.
Closing the page too early
The router needs a moment after you press Connect to mark your Mac as allowed. If you close the Log In window straight away, the mark may never land. Wait until the page says you are connected, or until a normal site loads.
A quick routine for a venue you visit often
-
1 01
Join the same network each time
Pick the saved name from the Wi-Fi menu rather than a lookalike such as a second guest network.
-
2 02
Finish the page and wait
Press Connect and give it a few seconds until a confirmation appears.
-
3 03
Test with a plain page
Open
http://neverssl.com. If the sign-in page shows up, you are not signed in yet; if a site loads, you are. -
4 04
Sign in again when it asks
When the timer ends, repeat the page. It takes under a minute.
When the page wants more than a name
Some venues tie the session to something that is yours alone: a voucher from your receipt, a code texted to your phone, a room number, or a member account. These come back each time the session ends, and they are yours to enter.
Where CafeSignal fits
CafeSignal is a free app in your Mac's menu bar, built for the routine sign-in page. You still join the Wi-Fi you choose. When the page comes back, CafeSignal fills in the routine parts: a visitor name, a birth year if it asks, the terms box, and the Connect button when the step is simple. Then it checks that a real request reaches the internet before it tells you that you are online.
It does not extend a session or change how the venue counts your time. It also stops at the same locks as you would: it never solves CAPTCHAs and never types passwords, one-time codes, payments, vouchers or account details, and it never uses Facebook, Google or Zalo logins. Those come back to you.
You're online
A real request reached the internet.
CafeSignal is free, needs macOS 14 or later, and runs on both Apple silicon and Intel Macs. If a sign-in page ever trips it up, there is a Send Feedback button in the menu, and a person reads every message.