Build a Matter Numbering System That Scales With Your Firm

A step by step guide to designing a matter naming and numbering convention that stays legible after five thousand files and survives staff turnover.

Neatly labelled legal file folders arranged in order on an office shelf
Photo: Widerøes Flyveselskap og Polarfly A/S / Wikimedia (CC0)
Jump to section
  1. Why Random File Numbers Cost You Later
  2. The Anatomy of a Good Matter Number
  3. Client Codes, Practice Codes, and Sequence
  4. Rolling It Out Without Renumbering Everything
  5. Rules That Keep the Convention Clean

The junior asks where the Nguyen file is. Nobody remembers. It was opened three years ago, the assistant who named it has moved to another firm, and the search comes back with four possible matters because two of them were saved as "Nguyen matter" and one as "N. dispute." Twenty minutes gone before anyone touches the actual work. That is what a missing numbering convention costs you, and it compounds every year.

A matter number is a small thing until you have thousands of them. Then it is the common reference that links the physical file to the digital folder, the docket, the trust ledger, and the invoice. Get it right early and it disappears into the background where it belongs. Get it wrong and you pay a cost on every search, every conflict check, and every handover for the life of the firm.

Why Random File Numbers Cost You Later

Plenty of firms start with whatever the software assigned on day one, or with a partner's initials and a guess. That works fine at forty files. It falls apart at four hundred, and by five thousand it is actively hostile to the people who work there.

The failure mode is always the same. When a number carries no meaning, humans invent meaning by adding notes to the folder name. Soon you have "Smith (the real estate one, NOT the divorce)" and every variation your staff could dream up. Searching becomes guesswork. Two people open the same client under two different spellings, and now your contact and parties list has ghosts in it.

A good number does three jobs at once. It sorts predictably, it tells a human something useful at a glance, and it never collides with another number even when two staff open files on the same afternoon. If your current scheme fails any of those three, you have a problem waiting to surface during your busiest week.

Note. A numbering convention is a commitment that any file can be found the same way by any person, including the one you have not hired yet.

The Anatomy of a Good Matter Number

Strip it down and a durable matter number has three parts: something that identifies the client, something that identifies the kind of work, and a sequence that guarantees uniqueness. Keep each part short, fixed-width, and separated by a consistent character.

Here is a shape that has held up in real firms for a long time.

SegmentExampleWhat it does
Client code1042Points to one client, forever
Practice codeFLFamily law, civil, real estate, and so on
Sequence003The third matter opened for that client

Assembled, that reads 1042-FL-003. A person can look at it and know it is the third family matter for client 1042. A computer can sort a list of them cleanly because every segment is a fixed width. And because the sequence is scoped to the client, you will never run out of room or trip over a duplicate.

Resist the urge to encode too much. The year the file opened, the responsible lawyer, the office location: all tempting, all things that change or get argued about. Anything that can change should live as data on the matter, not baked into a number you can never take back.

Client Codes, Practice Codes, and Sequence

The client code is the foundation, so treat it carefully. Use a plain incrementing number, four digits with room to grow, and assign it once when the client is first opened. Never reuse a retired code, and never let two people create one at the same time. This is exactly where a disciplined file opening process matters: one gate, one person or one system handing out the next code so there is a single source of truth.

Practice codes are where firms overthink it. You need a short, closed list that everyone agrees on before you start, not an open field people can type into. Two letters is plenty.

  • FL for family
  • CV for civil litigation
  • RE for real estate
  • WE for wills and estates
  • CO for corporate and commercial

Write the list down, put it in your knowledge base, and hold the line. The day you allow a sixth code invented on the fly is the day the list stops being trustworthy. If a new practice area is real and permanent, add it deliberately.

The sequence is the easy part as long as it is scoped correctly. Scope it to the client, start at 001, and pad it so the numbers sort in order. Three digits handles almost any client you will ever meet.

Tip. Pad every numeric segment to a fixed width. Without padding, 1042-FL-10 sorts before 1042-FL-2 in every system you own, and someone will waste an afternoon convincing you it is a bug.

Rolling It Out Without Renumbering Everything

The mistake that kills these projects is deciding you must go back and renumber ten years of closed files. You do not. Renumbering is a huge effort with almost no payoff, and it breaks every historical reference in your emails, ledgers, and court documents. Leave the past alone.

Pick a date instead. Every matter opened from that date forward uses the new convention. Everything before it keeps its old identifier and lives in an archive. You get a clean, growing set of well-numbered files without touching a single closed matter.

For the active files that are still moving, use judgment. A file that will close in a month is not worth relabelling. A ten-year commercial client with dozens of open matters probably is, because your team touches it constantly. Migrate the few that matter, and let the rest age out.

Whatever tool you keep your matters in, make sure the number is generated once and stamped everywhere automatically. If your staff are hand-typing the number onto folders, ledgers, and documents, they will fat-finger it, and a mistyped matter number is worse than none at all. A system like A1 CMS that assigns the number at intake and carries it through billing and documents removes the retyping entirely, which is where most of the drift creeps in.

Rules That Keep the Convention Clean

A convention is only as good as the discipline around it. Write these rules down, put them where new hires will find them on day one, and enforce them the same way you would enforce a limitation date.

  1. One gate for new numbers. A single process or person assigns client codes so two people never mint the same one.
  2. Closed practice-code list. No typing free text into that field, ever. New codes are added deliberately, not in the moment.
  3. Never reuse a retired code. A dead client code stays dead so old references never point at the wrong person.
  4. The number goes in the folder name, not a note about the folder. Descriptions live in the matter record, not smuggled into the identifier.
  5. Same format everywhere. The number on the folder matches the docket, the trust ledger, and the invoice, character for character.

Bake these into your onboarding so the convention survives turnover, because it will absolutely be tested by it. The person who designed your system will eventually leave. The rules, written plainly and applied consistently, are what carry the knowledge forward when they do. This is the same discipline behind a steady monthly file review habit: small, consistent effort that prevents large, expensive problems later.

Watch out. The most dangerous drift is invisible. Audit a random handful of matter numbers every quarter. If you find one that breaks the format, do not just fix it, find out how it got created and close that gap.

Start small and start now. Sketch your practice codes on one page, pick the date your new convention begins, and decide who owns the client-code gate. You are not solving for the firm you are today; you are solving for the firm with five thousand files and a team that has turned over twice. A matter number that stays legible through all of that is one of the highest-return systems you will ever build, and it costs you almost nothing but the decision to be consistent. For more on the systems that hold a busy practice together, browse the rest of our practice management writing or see how the pieces fit in the tools built for firms like yours.

Devon Reyes

Practice operations writer

Devon writes about the day to day of running a small firm: intake, deadlines, and the systems that keep a practice calm.

Run your firm on one calm platform

Matters, billing, trust accounting, client portal, and automation, together in A1 CMS. Try it free, no card required.