Lenovo Legion Y540-17IRH
Type 81Q4 Laptop, from 2019 15 hardware reports
Memory

Up to 32 GB
2 laptop-size slots
SSD and charger
Coming next
Checked from separate sources
Upgradable
Yes. 2 slots, up to 32 GB seen working.
It takes DDR4-2666 laptop-size sticks (SO-DIMM).
- Slots
- 2 SO-DIMM slots
- Type
- DDR4-2666 260-pin SO-DIMM
- Most seen working
- 32 GB in two or more machines
- Firmware says
- 32 GB maximum
- How sure
- 15 of 15 reports show this layout
See 16 GB DDR4-2666 SO-DIMM on AmazonOpens an Amazon search for this exact spec.
Worked out from 15 hardware reports of this laptop. Sources and method. Updated 9 Nov 2026.

2 laptop-size slots
Illustration Questions
Can I upgrade the RAM in the Lenovo Legion Y540-17IRH?
Yes. 2 slots, up to 32 GB seen working. It takes DDR4-2666 laptop-size sticks (SO-DIMM).
What type of RAM does the Lenovo Legion Y540-17IRH use?
DDR4-2666 laptop-size sticks (SO-DIMM, 260-pin).
How much RAM can the Lenovo Legion Y540-17IRH take?
Machines in the reports run up to 32 GB. That matches the 32 GB maximum the firmware reports.
Is this my laptop?
Check the label on the bottom. It should say Legion Y540-17IRH, and the type code starts with 81Q4.