Mission names ahead in the story table. No plot beyond that.

Source: GTA VI, in-game

GTA 6 Safe Codes and Door Codes

Fixed safes have fixed codes. Store safes do not. Gang hideouts, a few spots out in the wild and the safes inside story missions use the same code for everyone, listed below. Enter every digit, leading zero included: 0104 is not 104.

Rob a store and the code is random, so no list can help. Aim at the staff and threaten them until the prompt turns into Safe Code?, or click both sticks for Focus and look for the note or screen where it is written. No patience? A sticky bomb opens it the loud way. More on the job: robbery.

Gang Hideouts

HideoutGangCodeClue in the game
Brooks Boatworks, Port GellhornKolt & Associates6823Wall map in the office of the east building
Kingpin Bowling, Port GellhornKolt & Associates0300Same map at Brooks Boatworks; sticky bombs in the next room
La Cascara Motel, Port GellhornKolt & Associates6969Same map at Brooks Boatworks
Nova Auto Junkyard, HamletM77777Search the office
Sunrise RV Park, dock buildingKingfishers6769Search the compound
Farm Fix meth labFinal Chapter2121Search the hideout
Casa Guardia, Little CubaGuardia Brothers1965Search the house
Saber Shipping Yard, Little CubaGuardia Brothers8046Search the yard
Illegal Sneaker Trade, La PerleSan4San4124Search the hideout
Janjak's Garage, La PerleSan4San4444Sticky note on the fridge; the safe is in the room next to the office

Out in Leonida

PlaceOpensCodeClue in the game
Research outpost, Pelican Valley swampComputer loginCLEAVESTurn the power on first
Research outpost, Pelican Valley swampSafe0072Hint on the computer
Boathouse at the end of the outpost dockKeypad door0212Note inside the outpost safe
Trailer on the sandbar, Cottonmouth LakeSafe44017Search the trailer
Del Rio Boulevard Garage, La Perle, next to Auntie's PlaceRoll-up garage door92665Read the messages on the laptop first; the keypad stays dead until you do

Story and Side Missions

MissionOpensCodeWhen
Lab FeesLab door in the acid shop0420Chapter 1
Lab FeesBrian's lockup door7700Chapter 1
Afternoon DelightBack office safe at Delights2008Chapter 2
First ImpressionsGarage on Waxman Island, Vice Beach2404Chapter 3
Yasmani's jewelry jobsCasa de Empeño, back office safe1680Chapter 3
Yasmani's jewelry jobsRichardson Jewelry, middle room safe6815Chapter 3
Yasmani's jewelry jobsDonovan Banks & Co., back hallway safe0104Chapter 3
Stealing cars for MosesGarage with the '74 Vamos2727Side job

Code not working? The clue sits near the safe. If your game shows a different number there, the game wins.

Are store robbery safe codes random?
Yes. A store safe rolls its own code, so a number from someone else's game will not open yours. Threaten the staff, find the code with Focus, or blow the safe.
Source: GTA VI, in-game
What is the Kingpin Bowling safe code?
0300. The note by the safe points you to Brooks Boatworks, where a wall map lists it with two other Kolt codes. Or skip the trip: the room next door has sticky bombs.
Source: GTA VI, in-game
Do you need the clue before entering the code?
No. If you already know the code, punch it in. The clue only matters when you do not.
Source: GTA VI, in-game