# Excluding fields (Prisma ORM v7) (/docs/orm/v7/prisma-client/queries/excluding-fields) > For the complete Prisma documentation index, see [llms.txt](https://www.prisma.io/docs/llms.txt). A markdown version of any docs page is available by appending `.md` to its URL. Learn how to exclude fields from Prisma Client results with the omit option. Location: ORM > v7 > Prisma Client > Queries > Excluding fields Use `omit` when you want Prisma Client to return the normal result shape except for a few specific fields. ## Omit a field for one query [#omit-a-field-for-one-query] ```ts const user = await prisma.user.findUnique({ where: { id: 1 }, omit: { password: true, }, }); ``` ## Omit fields globally [#omit-fields-globally] You can also configure `omit` on the client itself: ```ts const prisma = new PrismaClient({ omit: { user: { password: true, }, }, }); ``` ## When to use omit vs select [#when-to-use-omit-vs-select] * Use [`select`](https://www.prisma.io/docs/orm/v7/prisma-client/queries/select-fields) when you want to return only a small subset of fields. * Use `omit` when the default result is mostly correct and you only want to remove a few sensitive or noisy fields. ## Related pages [#related-pages] * [Select fields](https://www.prisma.io/docs/orm/v7/prisma-client/queries/select-fields) * [Prisma Client API reference](https://www.prisma.io/docs/orm/v7/reference/prisma-client-reference#omit) ## Related pages - [`Aggregation, grouping, and summarizing`](https://www.prisma.io/docs/orm/v7/prisma-client/queries/aggregation-grouping-summarizing): Use Prisma Client to aggregate, group by, count, and select distinct. - [`CRUD`](https://www.prisma.io/docs/orm/v7/prisma-client/queries/crud): Learn how to perform create, read, update, and delete operations - [`Filtering and sorting`](https://www.prisma.io/docs/orm/v7/prisma-client/queries/filtering-and-sorting): Learn how to filter Prisma Client queries with where and sort results with orderBy. - [`Full-text search`](https://www.prisma.io/docs/orm/v7/prisma-client/queries/full-text-search): Learn how to search text fields with Prisma Client using your database's native full-text search support. - [`Pagination`](https://www.prisma.io/docs/orm/v7/prisma-client/queries/pagination): Learn how to paginate Prisma Client query results with offset pagination and cursor-based pagination.