HP EliteBook 8540p screw size
M2 / M2.5 / M3 · 3 to 12 mm long
If you are replacing a screw on HP EliteBook 8540p, the thread is M2, M2.5 and M3 in lengths from 3 to 12 mm.
There are 31 separate fitment records for it, including hard drive (qty 2, Phillips) (M2), optical drive (qty 2, Phillips) (M2) and unspecified (qty 3, Phillips) (M2), plus 28 more in the table below.
Head and drive, as the sources state them: Phillips and Torx T8 drives.
31 of the 31 records are marked confirmed, drawn from 1 source (h10032.www1.hp.com).
For reference, M2 is 2 mm across the threads at 0.4 mm pitch. The imperial size people confuse it with: #2-56 UNC (2.18 mm) is close but not interchangeable.
HP EliteBook 8540p screw specifications
One row per fitment record. Head, drive are shown only where the source states them; pitch is the ISO coarse pitch for the thread.
| Thread | Length | Pitch | Head | Drive | Where it goes | Status |
|---|---|---|---|---|---|---|
| M2 | 3 mm | 0.4 mm | not stated | Phillips | Hard drive (qty 2, Phillips) | Confirmed |
| M2 | 3 mm | 0.4 mm | not stated | Phillips | Optical drive (qty 2, Phillips) | Confirmed |
| M2 | 3 mm | 0.4 mm | not stated | Phillips | Unspecified (qty 3, Phillips) | Confirmed |
| M2 | 3 mm | 0.4 mm | not stated | Phillips | Wireless card (qty 2, Phillips) | Confirmed |
| M2 | 4 mm | 0.4 mm | not stated | Phillips | Hard drive (qty 4, Phillips) | Confirmed |
| M2 | 4 mm | 0.4 mm | not stated | Phillips | Unspecified (qty 1, Phillips) | Confirmed |
| M2 | 5 mm | 0.4 mm | not stated | Phillips | Memory (qty 2, captive, Phillips)captive | Confirmed |
| M2 | 5 mm | 0.4 mm | not stated | Phillips | Wireless card (qty 1, captive, Phillips)captive | Confirmed |
| M2 | 7 mm | 0.4 mm | not stated | Phillips | Hard drive (qty 4, captive, Phillips)captive | Confirmed |
| M2 | 8 mm | 0.4 mm | not stated | Torx T8 | Heat sink (qty 8, captive, Torx T8)captive | Confirmed |
| M2.5 | 12 mm | 0.45 mm | not stated | Phillips | Hard drive (qty 1, captive, Phillips)captive | Confirmed |
| M2.5 | 12 mm | 0.45 mm | not stated | Phillips | Keyboard (qty 3, captive, Phillips)captive | Confirmed |
| M2.5 | 12 mm | 0.45 mm | not stated | Phillips | Optical drive (qty 1, captive, Phillips)captive | Confirmed |
| M2.5 | 12 mm | 0.45 mm | not stated | Phillips | Unspecified (qty 1, captive, Phillips)captive | Confirmed |
| M2.5 | 3 mm | 0.45 mm | not stated | Phillips | Display (qty 2, Phillips) | Confirmed |
| M2.5 | 3 mm | 0.45 mm | not stated | Phillips | Hinge (qty 4, Phillips) | Confirmed |
| M2.5 | 3 mm | 0.45 mm | not stated | Phillips | Optical drive (qty 2, Phillips) | Confirmed |
| M2.5 | 3 mm | 0.45 mm | not stated | Phillips | Unspecified (qty 2, Phillips) | Confirmed |
| M2.5 | 3 mm | 0.45 mm | not stated | Phillips | Wireless card (qty 2, Phillips) | Confirmed |
| M2.5 | 5 mm | 0.45 mm | not stated | Phillips | Display (qty 4, Phillips) | Confirmed |
| M2.5 | 5 mm | 0.45 mm | not stated | Phillips | Display bezel (qty 2, Phillips) | Confirmed |
| M2.5 | 5 mm | 0.45 mm | not stated | Phillips | Fan (qty 3, captive, Phillips)captive | Confirmed |
| M2.5 | 5 mm | 0.45 mm | not stated | Phillips | Speaker (qty 4, Phillips) | Confirmed |
| M2.5 | 6 mm | 0.45 mm | not stated | Torx T8 | I/O board (qty 1, Torx T8) | Confirmed |
| M2.5 | 6 mm | 0.45 mm | not stated | Torx T8 | Palm rest (qty 2, Torx T8) | Confirmed |
| M2.5 | 6 mm | 0.45 mm | not stated | Phillips | Wireless card (qty 1, captive, Phillips)captive | Confirmed |
| M2.5 | 7 mm | 0.45 mm | not stated | Torx T8 | Display (qty 4, Torx T8) | Confirmed |
| M2.5 | 7 mm | 0.45 mm | not stated | Torx T8 | Palm rest (qty 6, Torx T8) | Confirmed |
| M2.5 | 7 mm | 0.45 mm | not stated | Torx T8 | System board (qty 4, Torx T8) | Confirmed |
| M2.5 | 8 mm | 0.45 mm | not stated | Torx T8 | Card reader (qty 2, Torx T8) | Confirmed |
| M3 | 5 mm | 0.5 mm | not stated | Phillips | Hard drive (qty 4, Phillips) | Confirmed |
Fitment records and sources
Hard drive (qty 2, Phillips)
pitch 0.4 mm · tap 1.6 mm · clearance 2.4 mm · PH0 / Torx T6
Optical drive (qty 2, Phillips)
pitch 0.4 mm · tap 1.6 mm · clearance 2.4 mm · PH0 / Torx T6
Unspecified (qty 3, Phillips)
pitch 0.4 mm · tap 1.6 mm · clearance 2.4 mm · PH0 / Torx T6
Wireless card (qty 2, Phillips)
pitch 0.4 mm · tap 1.6 mm · clearance 2.4 mm · PH0 / Torx T6
Hard drive (qty 4, Phillips)
pitch 0.4 mm · tap 1.6 mm · clearance 2.4 mm · PH0 / Torx T6
Unspecified (qty 1, Phillips)
pitch 0.4 mm · tap 1.6 mm · clearance 2.4 mm · PH0 / Torx T6
Memory (qty 2, captive, Phillips)
pitch 0.4 mm · tap 1.6 mm · clearance 2.4 mm · PH0 / Torx T6
Wireless card (qty 1, captive, Phillips)
pitch 0.4 mm · tap 1.6 mm · clearance 2.4 mm · PH0 / Torx T6
Hard drive (qty 4, captive, Phillips)
pitch 0.4 mm · tap 1.6 mm · clearance 2.4 mm · PH0 / Torx T6
Heat sink (qty 8, captive, Torx T8)
pitch 0.4 mm · tap 1.6 mm · clearance 2.4 mm · PH0 / Torx T6
Hard drive (qty 1, captive, Phillips)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Keyboard (qty 3, captive, Phillips)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Optical drive (qty 1, captive, Phillips)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Unspecified (qty 1, captive, Phillips)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Display (qty 2, Phillips)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Hinge (qty 4, Phillips)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Optical drive (qty 2, Phillips)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Unspecified (qty 2, Phillips)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Wireless card (qty 2, Phillips)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Display (qty 4, Phillips)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Display bezel (qty 2, Phillips)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Fan (qty 3, captive, Phillips)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Speaker (qty 4, Phillips)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
I/O board (qty 1, Torx T8)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Palm rest (qty 2, Torx T8)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Wireless card (qty 1, captive, Phillips)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Display (qty 4, Torx T8)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Palm rest (qty 6, Torx T8)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
System board (qty 4, Torx T8)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Card reader (qty 2, Torx T8)
pitch 0.45 mm · tap 2.05 mm · clearance 2.9 mm · PH1 / Torx T8
Hard drive (qty 4, Phillips)
pitch 0.5 mm · tap 2.5 mm · clearance 3.4 mm · PH1 / Torx T10
How to check the screw before you buy
- Laptop covers and brackets often mix two or three lengths of the same thread, so lay the screws out in the order they came out (a magnetic mat or a sheet of paper with the hole pattern drawn on it works).
- Diameter: across the threads an M2 screw measures about 2 mm with calipers (usually a hair under). This device also uses M2.5 / M3, so measure each screw rather than assuming they match.
- Pitch: 0.4 mm from one thread crest to the next (25 crests per centimetre). A thread pitch gauge or the pitch-gauge tool settles it in seconds.
- Length: measure from under the head to the tip for pan, button, wafer and cap heads; countersunk (flat) heads are measured overall.
- The records span 3–12 mm, which means different positions take different lengths — match each hole to its own screw.
- Driver: the source names a Phillips drive. For comparison, standard M2 heads take PH0 (Phillips) or T6 (Torx), or a 1.5 mm hex key.
- Tightening: no device-specific torque is published in these records. The site's general figure for M2 is about 25-40 N·cm into metal threads and 12-20 N·cm into plastic bosses; snug it up and stop.
Common mix-ups with M2 / M2.5 / M3
- The standard M.2 SSD screw is M2 x 3mm, but some laptops and handhelds use non-standard lengths or head shapes.
- M2.5 pitch is 0.45mm vs M3's 0.5mm and M2's 0.4mm — forcing the wrong one strips plastic bosses instantly.
- Thorlabs' 16mm cage system standard plates use dual 4-40 (UNC) and M3 taps on the same plate (e.g., SP01), so metric and imperial fasteners are both valid depending on the region/kit purchased.
Buy these screws at TechSpare Warehouse
In stock and shipped from South Carolina. Our black screws are Phillips wafer head (low profile); match the head style and length to the original before you order.
-
M2 x 3mm Screws for Dell XPS 13 9340 Base Cover SSD Shield 10-Pack Black
$4.99 -
10x M2 x 3mm Phillips Screws for Lenovo ThinkPad X131e Chromebook WiFi SSD
$4.99 -
M2 x 4mm Phillips Wafer Head Machine Screws Black 50-Pack Laptop SSD Repair
$4.49 each · min. 2
-
M2 x 4mm Screws for Dell Latitude 5530 SSD Type-C Bracket 10-Pack Black
$4.99 -
M2 x 5mm Replacement Bottom Case Screws for Dell Inspiron 3535 Laptop 10-Pack
$4.99 -
M2 x 5mm Phillips Wafer Head Screw for Dell G16 7630 Gaming Laptop Repair - Pack of 100 Black
$7.99 -
ASUS ROG Strix G15 G513R Replacement Screws Sold Individually – M1.6 x 3mm, M2 x 2.5mm, M2 x 3mm, M2.5 x 6mm Phillips Wafer Head, Black
$0.10Choose size -
ASUS ROG Strix G17 G713 Replacement Screws Sold Individually – M1.6 x 3mm, M2 x 2.5mm, M2 x 3mm, M2.5 x 6mm Phillips Wafer Head, Black
$0.10Choose size
More in Laptops & PCs
The same screw also fits
Devices whose records share a thread with HP EliteBook 8540p, closest length match first.
- Lenovo ideapad 310S-14AST also M2 × 3 mm
- HP Compaq nx7010 also M2 × 3 mm
- Lenovo ThinkPad T450s also M2 × 3 mm
- Lenovo ideapad 330L-17ICH also M2 × 3 mm
- Framework Laptop 16 (T5 2.0/2.6/3.0 mm) also M2 × 3 mm
- HP EliteBook 630 G10 also M2 × 4 mm
- Lenovo ideapad 330S-15AST U also M2 × 3 mm
- Dell Vostro 15 5590 also M2 × 3 mm
Questions about HP EliteBook 8540p screws
- What size screw does HP EliteBook 8540p use?
- M2 × 3 mm for hard drive (qty 2, Phillips); M2 × 3 mm for optical drive (qty 2, Phillips); M2 × 3 mm for unspecified (qty 3, Phillips); M2 × 3 mm for wireless card (qty 2, Phillips); M2 × 4 mm for hard drive (qty 4, Phillips); M2 × 4 mm for unspecified (qty 1, Phillips); M2 × 5 mm for memory (qty 2, captive, Phillips); M2 × 5 mm for wireless card (qty 1, captive, Phillips); M2 × 7 mm for hard drive (qty 4, captive, Phillips); M2 × 8 mm for heat sink (qty 8, captive, Torx T8); M2.5 × 12 mm for hard drive (qty 1, captive, Phillips); M2.5 × 12 mm for keyboard (qty 3, captive, Phillips); M2.5 × 12 mm for optical drive (qty 1, captive, Phillips); M2.5 × 12 mm for unspecified (qty 1, captive, Phil.
- How long are the screws in HP EliteBook 8540p?
- The records range from 3 to 12 mm depending on the position, so match each screw to its own hole.
- What is the thread pitch of an M2 screw?
- 0.4 mm (coarse), which is the standard pitch for M2 machine screws; a 0.25 mm fine pitch exists but is uncommon. The tap drill is 1.6 mm and the normal clearance hole is 2.4 mm.
- What screwdriver do I need for HP EliteBook 8540p?
- The source lists a Phillips and Torx T8 drive. Standard M2 heads otherwise take PH0 (Phillips) or T6 (Torx), or a 1.5 mm hex key.
- Can I use an imperial screw instead of M2?
- No. Imperial look-alike: #2-56 UNC (2.18 mm) is close but not interchangeable. Use a true M2 screw so it does not cross-thread or strip the hole.
- Where can I buy replacement screws for HP EliteBook 8540p?
- TechSpareWarehouse (our own store) lists M2 x 3mm, M2 x 4mm and M2 x 5mm, which match lengths in the records above.




