Visual RFC.
ALL RFCs / RFC 9562
Read the RFC ↗
RFC 9562 / MECHANISM GUIDE

Time-ordered UUID version 7

03

UUIDv7 begins with a 48-bit Unix-epoch millisecond timestamp.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

DIAGRAM§ 5.7 ↗
RFC 9562 · § 5.7EXAMPLE
3 / 3
Time-ordered UUID version 7UUIDv7 begins with a 48-bit Unix-epoch millisecond timestamp.Time-ordered UUID version 7high 48 bitsUnix millisecondsother 80 bitslayout + 74 bitsversion 7 · variant · random/counter policyearlier mslater ms
03
Compare ordered prefixes

Different millisecond prefixes sort by time; same-millisecond order depends on generation choices.

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
KEY POINT

The remaining 74 non-layout bits hold randomness and optionally supported monotonicity subfields.

  • The remaining 74 non-layout bits hold randomness and optionally supported monotonicity subfields.
  • Multiple identifiers in one millisecond need careful generation state.
  • A sortable timestamp is not a globally guaranteed creation order.
DETAILS

Examples are illustrative. Consult the linked RFC and its errata for implementation details.

Read the RFC section ↗

Diagrams simplify the RFC. Read the linked sections for complete requirements.

Privacy
All chapters in this RFC
  1. UUID fields and text
  2. Random UUID version 4
  3. Time-ordered UUID version 7
  4. Name-based and custom layouts
  5. Generation and privacy limits

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗