You asked

Which full frame lens is better for portraits indoors on a nikon d5?

For indoor portraits on the Nikon D5, the guide points to the fast end of its portrait lineup. Indoors, light is the limit, so a wide maximum aperture matters more than anything else.

The Nikon AF-S 85mm f/1.4G is the strongest pick. The guide calls 85mm the classic full-frame portrait lens, with flattering perspective and soft backgrounds. At f/1.4 it gathers the most light of the options here, so faces stay sharp at shutter speeds that keep a seated or slowly moving subject still. It gives up size and weight, and you need room to stand back in a small room.

The Nikon AF-S 50mm f/1.8G is the cheap, sensible choice. The guide calls it the cheapest great lens in photography. On the D5 it gives a natural, slightly tight view, which suits a room where you can't back up far. It is less flattering for close headshots than 85mm.

The Nikon AF-S 35mm f/1.4G is the one for portraits that show the room. The guide suggests 35mm for environmental portraits and groups. Wider lenses exaggerate what sits close to the camera, so keep the subject a little back from the lens.

The D5 has no in-body stabilisation, so a stabilised lens would not help a moving subject. Choose the aperture first and use enough light.

For the longer-lens reasoning, see the portraits guide.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.