How to Stop Buying Things at 2am
It's late. You're tired but not sleepy. You're on your phone doing nothing in particular, and then there's a thing, and the thing would genuinely improve your life, and it's only twenty-odd dollars, and forty seconds later it's ordered. The regret usually arrives before the parcel does.
You weren't shopping
The purchase mostly isn't about the object. Buying something delivers a small, reliable hit of anticipation, and anticipation is the part that feels good. It's available instantly, it works every time, and at 2am, understimulated and out of resistance, it's the easiest source going.
Which is why the arrival is so often flat. You didn't want the thing. You wanted the twenty seconds before the thing, and you already had those.
Why late at night specifically
Whatever you use to talk yourself out of things is finite, and by midnight it's spent. Everything else that helps is gone too: nobody is around to say "do you actually need that", the shops being shut stopped being a barrier years ago, and one-click checkout has removed every inch of friction that used to sit between wanting and buying.
It's a moment engineered to be easy to lose. Losing it is not a character flaw.
Not yet beats no
Telling yourself no sets up a fight you have to win while depleted, and if you lose it you get the item and the shame. So don't fight it, move it.
Write the thing down instead of buying it. Name it, note the price, stop there. You aren't refusing, you're deferring, and deferring is far easier to agree to at 2am than refusing is. It also settles the immediate itch, because deciding to decide later is itself a small resolution.
Then look tomorrow, in daylight, when you are chemically a different person. Sometimes you still want it, and if it fits the month, buy it without guilt: that's a real want, tested. Far more often you'll read the line and feel nothing at all, which is the entire answer, and you keep the money.
Give the urge somewhere else to go
Parking removes the purchase but not the feeling underneath it, and if nothing replaces that feeling the urge just comes back louder. So it helps to have a short list of things that scratch the same itch without a checkout, written down in advance, because 2am is not when anyone invents good options. Small, quick, and not your feed. The list has to exist before you need it, which is the only demanding part of this.
Put the friction back
Finally, undo what the shops removed. Take the saved cards out of your browser. Log out of the apps that let you buy in two taps. Delete the one that's your particular weakness, and you know which one it is.
None of that is willpower. It's buying yourself the ninety seconds in which an urge has time to pass. A brain that's very good at instant decisions needs the delay built into the environment rather than into your resolve, because your resolve is asleep. That's why it's 2am.