Skip to content
M-PESA for Business

M-PESA for medical clinics and pharmacies in Kenya 2026

How Kenyan clinics, pharmacies, and diagnostic centres take M-PESA in 2026. Paybill with patient number reference, insurance vs cash tickets, prescription workflows, SHA and KRA reality. Includes a clinic + pharmacy worked example.

MM
by Reviewed by Josephine Njeri
11 min read Updated 1 September 2026Verified 01 Sept 2026

Health is a paybill-first sector for anything more complex than an over-the-counter drug purchase. The reason is the medical record: every payment must map to a specific patient encounter, both for continuity of care and because insurance and SHA claims require it. The rail choices flow from that constraint.

What a clinic actually needs from M-PESA

  • Patient-file reference. The account field carries the patient file number so the payment slots into the correct EMR record.
  • Multi-line billing. Consultation + labs + drugs on one visit, often split billed.
  • Insurance/SHA split. Insurer covers X, patient copays Y via M-PESA. Both flows need reconciliation.
  • Admission accounts. Running balance across days for inpatient care.
  • Refunds. Refund overpayments cleanly via M-PESA B2C.
  • Regulator-ready statements. KMPDU inspection, SHA audit, KRA. Paybill statement is the primary evidence.
  • Clinic (any size). Dedicated paybill in the clinic's registered name. File number as account reference. See how to get a paybill (2026).
  • Attached pharmacy. Same paybill with a prescription suffix on the account reference (e.g. PAT1234-RX). Same reconciliation, split sub-ledger.
  • Standalone pharmacy (walk-in retail). Buy Goods till is fine. No prescription tracking needed on the payment rail (the prescription pad or POS handles clinical logging).
  • Chain clinic. One paybill per branch, or one paybill with a branch prefix on the account (e.g. KLM-PAT1234).
  • Diagnostic-only lab. Paybill with the test-request number as reference.

Charges you will actually pay

On paybill, the patient pays the send fee (tiered up to KES 108) and the clinic pays the merchant fee (tiered up to KES 108). On Buy Goods till, only the merchant pays. Full band schedule in M-PESA charges 2026.

For a KES 3,500 consultation: patient pays KES 47, clinic pays KES 55 on paybill. For a KES 10,000 admission deposit: patient pays KES 88, clinic pays KES 108. Above KES 15,000: both are at KES 108.

Setup steps

  1. Clinic KRA PIN, KMPDC/PPB licence, business bank account, county permit. Pharmacy: PPB Retail Licence.
  2. Apply for a paybill via m-pesaforbusiness.co.ke or a Safaricom Business Rep. Specify "Medical services" as the use case.
  3. Sign the Lipa na M-PESA merchant agreement. Approval 5 to 10 working days.
  4. Configure account-reference validation to accept your patient-file format.
  5. Integrate paybill into the EMR (Zenith, Ozone, custom). Post-payment webhook updates the patient bill.
  6. Print the paybill number at reception, on the invoice, and on the SMS reminder for the next visit.

Reconciliation notes specific to clinics and pharmacies

  • Patient-file discipline. Every payment references the file number. Ask new patients to bring the file number to reception.
  • SHA-copay split. Front desk runs the SHA eligibility check. Insured share goes on the SHA claim, copay is what the patient pays via M-PESA. Never take a full bill on M-PESA when part is SHA-claimable.
  • Insurer disbursements. Private insurers (Jubilee, AAR, Britam, CIC, Old Mutual) pay via bank transfer, not M-PESA. Reconcile these separately in the AR ledger.
  • Prescription pharmacy. Sub-suffix on account reference lets you split consultation revenue from pharmacy revenue in the daily close.
  • Refunds. Overpayments (patient sent KES 5,000, bill was KES 4,200) refunded via B2C same day, logged as a negative line in the ledger with the M-PESA reference.
  • Admission close. Discharge triggers a full statement: total charges - total M-PESA deposits - insurance = balance. If negative (refund), send B2C.

Common problems and how to fix them

  • Patient claims paid, reception cannot find record. Ask for M-PESA transaction ID. Search paybill statement. If they typed the wrong file number, credit the correct one and note the correction in both files.
  • Patient paid at the pharmacy counter but consultation was not settled. Split the payment: credit the pharmacy sub-suffix, leave the consultation balance open. Reconcile at close.
  • SHA claim rejected after the fact. Bill the patient for the rejected portion. If they resist, escalate through SHA reconsideration first, then the ledger.
  • Duplicate deposit for admission. Family members double-paid. Refund one via B2C the same day.
  • Insurance pre-auth timed out. Take a refundable M-PESA deposit against the file number, refund on subsequent insurer confirmation.

SHA, KMPDC, PPB, and KRA compliance

  • SHA (Social Health Authority). Registered facilities file claims through SHA portal. M-PESA copays are outside SHA but must be reconciled against the patient encounter.
  • KMPDC (facility licensing). Inspection cycles. Fee-collection controls are part of the review.
  • PPB (Pharmacy and Poisons Board). Pharmacies audited on Rx tracking, controlled-substance logs.
  • KRA VAT. Consultation by licensed practitioner: generally exempt. Drugs and outpatient procedures: often VAT-able above the KES 5M threshold. eTIMS invoicing on VAT-able lines.
  • Turnover-tax at 3 percent above KES 1M turnover (below VAT registration).
  • PAYE, NSSF, SHIF, Housing Levy on all staff.

Worked example: a mid-size clinic + attached pharmacy, KES 2.7M monthly

A five-room clinic in Ruaka with an attached pharmacy, roughly 30 patient encounters per day, six days a week. Payment mix on the paybill:

LineTickets / monthMonthly grossMerchant fee / ticketMonthly M-PESA cost
Consultations (avg KES 1,200)600KES 720,000KES 22KES 13,200
Diagnostics (avg KES 2,500)250KES 625,000KES 32KES 8,000
Procedures (avg KES 8,000)80KES 640,000KES 108KES 8,640
Pharmacy (avg KES 800)900KES 720,000KES 11KES 9,900
Total1,830KES 2,705,000KES 39,740

M-PESA cost as share of gross: about 1.47 percent. Cheaper than the 2.5 to 3.5 percent an insurer would take on a similar volume through the medical-claims float. SHA claims sit alongside, roughly 30 to 40 percent of the patient book, disbursed monthly to the clinic bank account.

More business rail guides

Curated external sources we cite. Open in a new tab.

See also: M-PESA for schools · M-PESA for rent collection · Business hub.