You asked
Which longer lens gives tight indoor portraits on a nikon d5300?
For tight indoor portraits on the Nikon D5300, the guide's pick is the Sigma 50-100mm f/1.8 DC HSM Art. On this camera it frames like 75-150mm on full frame. Indoors, light is the main limit, and f/1.8 gathers far more of it than a zoom with a smaller maximum aperture. The Portraits guide notes that a longer lens flatters faces because you stand further away. The catch is room: at 100mm you need a few metres between you and your subject, so this works best in a larger room.
If you want more reach, the Nikon AF-S 70-200mm f/2.8G ED VR II frames like 105-300mm and keeps f/2.8 with VR. It is big and costly, and in a small room it may be more lens than you can use. The Tamron SP 70-200mm f/2.8 Di VC USD G2 is a similar choice from the same catalogue.
The D5300 has no in-body stabilisation, so a stabilised lens such as the Nikon or Tamron helps with slow shutter speeds. Stabilisation steadies the camera, though, not a moving subject, so the wide aperture matters more for indoor portraits. The sensor guide explains how the D5300's APS-C sensor changes the framing and depth of field you get.
Before you buy, check the D5300 page for the mount and the full list of lenses that fit it.
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}.