You asked

Which lens for portraits on the fujifilm x m5?

For portraits on the Fujifilm X-M5, the lens matters more than the body, as the portraits guide says. The X-M5 has no in-body stabilisation, so pick stabilised lenses if you'll shoot slowly, and a fast aperture gives the soft background that makes portraits stand out.

The Fujifilm XF 33mm f/1.4 R LM WR is the classic choice. It frames like a 50mm on full frame, a focal length that flatters faces without distortion, and f/1.4 gives plenty of background blur and works in dim rooms. It gives up reach and needs you to step closer. The Fujifilm XF 35mm f/1.4 R is a near-identical alternative, framing like a 52mm, with slightly wider coverage for environmental portraits.

If you want to stay back, the Fujifilm XF 50-140mm f/2.8 R LM OIS WR covers 75-210mm equivalent at a constant f/2.8. Longer focal lengths compress the background and keep you at a comfortable distance from your subject. It is larger and heavier than the primes, and it has optical stabilisation, which helps at slower shutter speeds.

The guide doesn't quote lens prices here, so check each lens page for current figures before buying. The X-M5 has no viewfinder, so you'll compose on the screen, which works well for portraits.

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}.