ChatGPT recommends a lawyer by searching the web, reading short passages from the pages it finds, and naming the firms that several trusted sources describe the same way. It does not rank firms by ad spend or website age. A firm gets named when its website, directory listings, reviews and outside mentions agree on who it is, where it practices and what cases it takes.
That matters because more people now start a legal search with a question to an AI tool rather than a list of search results. If ChatGPT names three firms in your city and yours is not one of them, that prospective client may never see your website.
When someone asks, "Who is a good divorce lawyer in Sacramento?", ChatGPT rarely runs that exact phrase. It breaks the question into smaller searches, such as "best divorce attorneys Sacramento," "Sacramento family law firm reviews" and "divorce lawyer Sacramento free consultation." Each search pulls back its own set of pages.
A firm that appears across several of those searches has a better chance of being named than a firm that ranks well for only one. This is why a single strong practice area page is rarely enough on its own.
AI search tools pull short sections from each page and judge how well each section answers the question. A page that opens with a clear, direct answer is easier to quote than one that opens with a mission statement.
Compare these two openings:
The second one gives an AI tool a fact it can repeat: the firm's name, its practice area and its location in one sentence.
ChatGPT is more confident naming a firm when independent sources say the same thing about it. The sources it leans on for law firms usually include:
When those sources disagree, for example an old address on one directory or a practice area the firm dropped years ago still listed on another, the AI has two versions of the firm and may skip it or describe it wrongly.
Ask ChatGPT the questions your clients ask, in the chat window rather than through a third-party tool, and write down whether your firm appears, which competitors appear and which sources ChatGPT cites. Run each question a few times, because AI answers change from one run to the next. Repeat the same questions every two to three months so you can see a trend rather than a single snapshot.
Some legal marketing agencies now handle this as its own service rather than as part of an SEO retainer. Aliso Viejo-based RizeUp Media, for instance, works only with law firms and runs GEO and AEO, the disciplines behind AI search visibility, as a dedicated service line. Whether you hire help or do it yourself, the test is the same: does the AI describe your firm correctly, and does it name you for the questions that bring in cases?
ChatGPT recommends the lawyers it can verify. The firms that show up are the ones whose facts are clear on their own site and repeated, consistently, everywhere else.