Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Whether you can replace a key on an HP laptop depends on the exact model, the key mechanism, and your warranty status. If the laptop is still under warranty, HP advises having it serviced rather than removing a key yourself. For an out-of-warranty notebook, HP’s removal-and-cleaning instructions apply only when the key is designed to come off; a broken or missing key may require a model-specific part or service.

First decide whether to remove the key

Check your warranty status before trying to lift a keycap. HP says to have the computer serviced if it is under warranty, if the key cannot be unstuck, or if the keyboard does not have removable keys. Removing a key is not a universal fix, and forcing one can damage the mechanism beneath it. See HP’s keyboard troubleshooting guidance.

If the laptop is out of warranty and the key is visibly designed to come off, HP’s instructions describe removing and cleaning a stuck key. Cleaning may resolve sticking, but it is not guaranteed to repair a broken or missing key.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How to clean a removable, stuck key

  1. Shut down and disconnect power. Turn off the notebook and unplug the AC adapter. If its battery is removable, remove it.
  2. Lift the key gently. Use a flat plastic pry tool at the top or bottom edge of the key. HP cautions: “To avoid damaging the pad under the key, insert the flat plastic pry tool only 1/8 inch under the edge of the key.” Do not push the tool farther beneath the key or force a key that does not lift readily. HP’s instructions for cleaning a stuck key specify this limit.
  3. Clean the key and opening. Use a cotton swab on the key and its slot, then use compressed air to clear debris.
  4. Reinstall the key. Snap it back into place. Longer keys, including the space bar and Enter key, may have a small metal support rod; make sure the rod is inserted into the key before reinstalling it.

If a key is missing, broken, or will not reattach

Do not assume a keycap from another HP laptop—or a generic keycap—will fit. HP’s cleaning procedure is not a universal replacement guide. The key mechanism and compatible replacement parts depend on the specific notebook. If the key is broken or will not stay attached, identify the computer and check HP’s parts information or contact HP support about service. HP advises service when the keyboard lacks removable keys or a key cannot be unstuck. HP Support.

#1 Best Overall
Dolphin.dyl(TM Replacement Individual Key Keyboard for US Retina Display Pro A1425 A1502 A1398 A1466 Replacement Key Keyboard F (Old Version)
  • Compatible Model number:A1425,A1502,A1398,A1466
  • Some models use an another version of the keyboard and are not compatible.
  • Please make sure that the white plastic scissor hinge is exactly the same as the one in the picture.
  • If you are unsure if the key will work for you please send a message with picture of either the area on the keyboard missing the key or a picture of the back of the key with the plastic hinge attached.

Find the correct HP part for your notebook

Use the notebook’s exact product number, serial number, or part number when looking up replacement parts. HP says these identifiers are on the service tag affixed to the bottom of the notebook. Search the regional HP PartSurfer or HP Parts Store, or ask HP support to confirm the compatible option. Part availability can vary by model and region, so a listing for a similar-looking laptop is not enough to establish compatibility. HP describes its certified replacement parts as tested against its quality and compatibility standards; choose the part listed for your exact device.

Some HP illustrated catalogs list a “top cover with keyboard” rather than an individual keycap. That is one example of a keyboard assembly being the available replacement; it does not mean every HP laptop uses the same assembly. HP identifies PartSurfer as the source for current supported-parts information. HP illustrated parts catalog guidance.

Rank #2
SUNMALL Replacement Keyboard Compatible with HP 15-BS 15-BP 15-BR 15-BW 15G-BR 15Q-BD 15Z-BW 17G-BR 15-RA 15-RB 17-BS 17-BR 17-AE 17-AK 17-AR 250 G6 255 G6 Envy X360 15m-BP Sliver Without Backlight
  • 【Kindly Note】This keyboard is US Layout
  • 【Compatible Models】Compatible with HP 15-BS 15-BP 15-BR 15-BW 15G-BR 15Q-BD 15Z-BW 17G-BR 15-RA 15-RB 17-BS 17-BR 17-AE 17-AK 17-AR 250 G6 255 G6 256 G6. Envy X360 15m-BP.Envy 17M-AE(Compatible HP Pavilion 15-CB 15-CC 15-CD 15-CK TPN-Q201)
  • 【Solution of keys don't work】If some keys don't work after install ,You can try to reconnect the ribbon cable in case bad connected ,pls use a dry cloth to wipe metal head of the connect ribbon,then try to connect about few times,many customer solve this problem after did this.

Before ordering or arranging repair, confirm the exact model and listed part number, whether the proposed fix is a keycap or a larger keyboard assembly, and that the keyboard layout, language, and backlight configuration match your device. Consider warranty coverage and whether you are comfortable performing the repair; if not, use HP service or a qualified repair provider.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

If more than one key is failing

When the integrated keyboard has broader problems, HP recommends running a keyboard test with HP PC Hardware Diagnostics. If the built-in keyboard does not work, service or replacement may be necessary. A wired USB keyboard can serve as a temporary way to use the notebook while you arrange a diagnosis or repair. HP keyboard troubleshooting steps.

Best Value
Keyboard Cover with Large Letters for HP 15.6" Laptop 15-dw 15-dy 15-dy5033dx 15-dy5073dx 15-dy5113dx 15-db 15-ds 15-da 15-ef 15-ES 15-cc 15-cd 15-cs 15-cw 15-bw 15-bs Series -Black
  • ✅✅✅New! Industry's latest design protector with LARGE LETTERS. See every key and symbol in dim light without glasses. Great for seniors or people with poor vision.
  • Designed for HP 15.6 inch Laptop 15-dw*** 15-dy*** 15-db*** 15-ds*** 15-da*** 15-ef*** 15-es*** 15-cc*** 15-cd*** 15-cs*** 15-cw*** 15-bw*** 15-bs*** series. US Keyboard Layout. ❌❌❌Not Fit HP 15.6 Laptop 15-eg 15-eh 15-er 15-fh 15-fc 15t-eg200 15-eg2373cl/eg2153cl/eg1053cl/eg1073cl/eg0025nr 15-eh1085cl,Please Search ASIN: B08TVMVPGB.
  • CaseBuy own newest color and design, individual mold ultra thin thickness, with ultra clearly printing. Elaborately lower key height design to give you better type feeling, especially after long time typing
  • ✅✅✅ Please make sure your keyboard has 15 FUNCTION KEYS on the top row, not 16. US Keyboard Layout. You can compare your keyboard layout with IMAGE 2 to confirm if can fit.
  • Easy to apply and remove, completely washable and reusable. Risk-Free replacement warranty with CaseBuy.
Rank #4
TLBTEK Backlight Keyboard Replacement Compatible with HP Envy X360 15-ED 15-EE 15T-ED 15M-EE 15M-EE0013DX 15M-EE0023DX 15M-ED 15M-ED0023DX 15Z-EE,Envy 17-CH 17m-CH 17-CG Series Laptop (Silver)
  • 【Compatible Models】Compatible with Compatible with HP Envy X360 15-ED 15-EE 15T-ED 15M-EE 15M-EE0013DX 15M-EE0023DX 15M-ED 15M-ED0023DX 15Z-EE,Envy 17-CH 17m-CH 17-CG Series Laptop
  • 【Specification】This keyboard with backlight.
  • 【Please cheak whether this keyboard fits your laptop or not before bidding.】
  • 【Good Package】This keyboard is covered bubble bag in box,make sure you can receive a high quality keyboard.
  • 【Solution of keys don't work】If some keys don't work after install ,You can try to reconnect the ribbon cable in case bad connected ,pls use a dry cloth to wipe metal head of the connect ribbon,then try to connect about few times,many customer solve this problem after did this.
Rank #3
Replacement Keyboard for HP EliteBook 840 G7 840 G8 & EliteBook 845 G7 845 G8, EliteBook 745 G7 745 G8, ZBook Firefly 14 G7 G8 Series Laptop with Backlit US Layout
  • Compatible Model: HP EliteBook 840 G7 840 G8, EliteBook 845 G7 845 G8 or EliteBook 745 G7 745 G8 Series Laptop
  • Compatible Model: HP ZBook Firefly 14 G7 or ZBook Firefly 14 G8 Series Laptop
  • Keyboard Layout: Color: Black with Backlit with Pointer. US Layout
  • WEAR-RESISTANT: This eliteBook 840 g7 840 g8 laptop keyboard was under UV-processed, the symbol on the keys can be still very clear after being repeated 10 million times.
  • Good Quality: Each replacement keyboard was tested before shipping and working good!

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.