You shake a wooden box at a shrine in Japan until a thin stick slides out of a hole in the top. It has a number on it, and the number gets you a folded slip of paper. You open it, and near the top is a single word, kyō. It means bad luck.

Around you, other people are reading theirs. Some fold them into their wallets. Others walk over to a wooden frame strung with lines of wire, already white with hundreds of knotted slips, tie theirs on, and leave.

So what should you do with yours? You can tie it up or take it home, and nobody will mind either way. But why the tying exists, and why nobody simply throws theirs in the bin, says a lot about what that slip is supposed to be.

If you grew up with fortune cookies or newspaper horoscopes, you already know how to handle a printed prediction. You read it, maybe laugh, maybe read it out to the table, and the paper goes in the trash. It is not a message from anyone in particular.

An omikuji, the paper fortune you draw at a shrine or temple, is meant differently. Even the way the word is written says so: it combines the character for “god” with the one for drawing lots. Shrines describe it as words from the god of that place. One Tokyo shrine, Onoteru, calls it a letter from the god.

That changes how you read it. The word at the top is a rank. The best is daikichi, “great blessing”. The worst is usually kyō, “bad luck”, and a few places add an even worse one, daikyō, “great bad luck”. In between sit several milder blessings, and their order differs from shrine to shrine.

But the rank is only the headline. Below it there is often a short poem and some brief advice on everyday things, such as your wishes or a trip you are planning. Some shrines stress that this content matters more than the rank.

And a bad draw is not rare. Sensō-ji, the big temple in Asakusa in Tokyo, still uses a traditional set of a hundred fortunes, and thirty of them are bad luck. Nearly one visitor in three walks away with kyō.

Why tie it?

The word for tying in Japanese is musubu. It is also the word for forming a bond. When two people are brought together, Japanese says a connection, en, has been tied. Some shrines explain the knot this way: when you tie your slip in the grounds, you are tying yourself a little closer to the god who sent it.

There is a second explanation, and it is the one most people have in mind when the news is bad. If you tie the slip and leave it, the bad luck stays at the shrine instead of coming home with you. Some add a twist: tie it with your weaker hand. A knot with the wrong hand is hard work, and the idea is that by managing something difficult, you have already started turning the bad luck toward good.

None of this is a rule, and different shrines tell it differently. It is a custom, and part of its charm is that it gives you something to do with a message you did not want.

You may also see slips knotted onto tree branches. Shrines generally ask you to use the frame instead, which is called a mikuji-kake, because tying paper onto a living branch damages the tree.

Can you take it home?

Yes. Shrines generally say either is fine: tie it there, or take it with you. Onoteru Shrine goes further and suggests keeping it, so you can read it again at turning points in your life. Plenty of people keep a good draw in their wallet for the year.

If you keep it, treat it a little like a letter you mean to reread. Put it somewhere clean, and do not throw it out with the rubbish. When you are done with it, you can return it to a shrine, or add it to a dondo-yaki, a bonfire where old charms and decorations are burned.

Tying it, keeping it, returning it: every option is a way of looking after the slip. That is why the custom feels natural even to people in Japan who would say they have no religion. You do not need to believe the god wrote your slip to feel that a message addressed to you should not end up in a bin. The frame gives you a respectful place to leave it.

Back to your bad slip

So your slip says bad luck. It is not a verdict. Read past the headline, because the advice underneath is the part shrines want you to notice. It is usually small, practical advice, the kind that tells you to be patient or to look after your health.

Then decide what you want to do with the message. If you would like to leave the bad luck where you found it, tie it to the frame, with your left hand if you are right-handed. If something in it struck you, fold it into your wallet and read it again in a few months.

Either way, the next time you see that rack of white knots, you will know what it is. It is not a pile of discarded fortunes. It is hundreds of people, each handing a message back to the god of that place.