What Ink Does the HP Envy 5640 Use?

Last updated: September 25, 2026.

Quick answer: The HP Envy 5640 uses two cartridges: HP 62 black and HP 62 tri-color, or the high-yield HP 62XL versions (about 600 black and 415 color pages). Castle Ink's remanufactured 62XL black is $22.99 and 62XL tri-color is $23.99.

What Ink Cartridges Does the HP Envy 5640 Use?

Cartridge Color Approx. yield Castle Ink
HP 62 Black ~200 pages Upgrade to 62XL
HP 62 Tri-color (C/M/Y) ~165 pages Upgrade to 62XL
HP 62XL (C2P05AN) Black ~600 pages 62XL black, $22.99
HP 62XL (C2P07AN) Tri-color ~415 pages 62XL tri-color, $23.99
HP 62XL set Black + tri-color One of each 62XL 2-pack

Yields are the manufacturer's ISO estimates at about 5% coverage; photos and heavy graphics use more ink. Castle Ink prices checked September 2026.

Which Printers Use the Same Ink as the Envy 5640?

HP 62/62XL cartridges also fit the Envy 5540, 5542, 5544, 5545, 5547, 5548, 5549, 5642, 5643, 5644, 5660, 5663, 5664, 5665, 7640, 7644 and 7645, and the OfficeJet 200 Mobile, 250 Mobile, 258 Mobile, 5740, 5741, 5742, 5744, 5745, 5746 and 8040. Look up any model in our find ink by printer directory.

What Is the Cheapest Ink for the Envy 5640?

Remanufactured HP 62XL cartridges are the cheapest reliable option. Original HP 62XL cartridges typically cost roughly $35–$45 each at retail, and HP has scaled back selling older cartridge lines on its own store, so retailer prices vary. Castle Ink's remanufactured 62XL black ($22.99) and tri-color ($23.99) are built from genuine HP shells with the printhead included in the cartridge, so you get a fresh printhead with every one.

Should I Buy HP 62 or HP 62XL?

62XL. The XL black prints about three times as many pages as the standard 62 black, and the XL tri-color about two and a half times as many, for much less than three times the price. Standard 62 only makes sense if you print so little that ink might dry out first.

How Do I Replace the Ink in the HP Envy 5640?

  1. Turn the printer on and open the cartridge access door; the carriage moves to the center.
  2. Press down on the empty cartridge to release it, then pull it out of its slot.
  3. Remove the new cartridge from its package and pull off the plastic tape by the pink tab. Don't touch the copper contacts or nozzles.
  4. Slide the cartridge into its slot (tri-color left, black right) and push until it snaps into place.
  5. Close the door and follow the prompt to print and scan an alignment page.

Will Remanufactured Ink Work in the Envy 5640?

Yes, with two caveats. HP pushes "dynamic security" firmware updates that can block cartridges with non-HP chips, so turn off automatic firmware updates in the printer's settings or the HP Smart app before switching. And if the printer is enrolled in HP Instant Ink, it only accepts subscription cartridges until you cancel. See how to stop HP firmware updates from blocking your ink. Using third-party ink does not void your warranty (here's why).

Why Does My Envy 5640 Say the Cartridge Isn't Recognized?

Remove the cartridge, make sure all protective tape and caps are off, wipe the chip or copper contacts gently with a dry lint-free cloth, and reinstall until it clicks. Confirm the part number matches this printer, then restart. If the message started right after a firmware update, the update may be blocking third-party chips. Full steps: ink cartridge not recognized.

How Do I Fix Streaky or Faded Prints on the Envy 5640?

Open HP Smart (or the printer's Tools/Printer Maintenance menu) and run Clean Printhead, then print a quality report. One or two cycles usually clear minor clogs. See faded or streaky prints.

What Are the HP Envy 5640's Key Features?

The Envy 5640 is a wireless all-in-one (print, scan, copy) for homes, with automatic two-sided printing, a 2.65-inch touchscreen, a dedicated photo tray, Wi-Fi and Wi-Fi Direct, and AirPrint, Mopria and HP Smart app support. It connects on 2.4 GHz Wi-Fi.

Is the Envy 5640 Still Worth Using in 2026?

Yes, if it still prints reliably. The Envy 5640 is discontinued, but HP 62/62XL cartridges are still available, and because the printhead is built into each cartridge, a new cartridge often fixes print-quality problems. Compare current models in our printer buying guide, or take the ~60-second PrinterIQ Finder quiz.

For drivers and the manual, visit the HP Envy 5640 support page.

HP Envy 5640 Ink FAQs

What ink does the HP Envy 5640 use?

HP 62 black and HP 62 tri-color cartridges, or the high-yield HP 62XL versions.

Can I use HP 62XL in the Envy 5640?

Yes. XL cartridges fit the same slots and print about 600 black or 415 color pages.

Can the Envy 5640 print with only one cartridge?

Yes. HP's single-cartridge mode lets it keep printing if one cartridge is removed, though output quality and speed may suffer. Replace the missing cartridge soon.

Is HP 62 the same as HP 63 or HP 65?

No. Those are different cartridges for other HP printers and won't fit the Envy 5640.

Does the Envy 5640 support AirPrint?

Yes, along with Mopria and the HP Smart app.

Are remanufactured cartridges safe for the Envy 5640?

Yes, from a reputable seller. See are compatible ink cartridges safe?

Related guides: how to check HP ink levels | fixing an "incompatible" HP cartridge

Need help choosing? Contact us with your printer model. Orders placed by 4 PM ET Monday–Friday ship the same day, with free shipping over $50.

Shopping for the printer itself? See the HP Envy 5640 on Amazon. As an Amazon Associate we earn from qualifying purchases.

About the Author: William Elward is the founder of Castle Ink and has been writing about printers, ink cartridges and printing technology for over 20 years.

Castle Ink Presents
The CastleScore™ — this month’s top-rated printers

An independent 0–100 score for every printer, refreshed monthly from thousands of owner reviews and expert tests — plus what the ink or toner actually costs to run. See this month's Top 10 inkjet and laser rankings, or use the PrinterIQ™ finder.

See the CastleScore rankings →
Written and reviewed by — Founder of Castle Ink, 20+ years in the printer & imaging supplies industry.