All posts

A slow checkout is a broken checkout: speeding up Magento checkout

A checkout that takes fifteen seconds to show shipping rates does not throw an error. It just loses the shoppers who give up first. On Magento most of that time sits in a few known places, and each one can be measured.

Free checkout scan

Enter your store address. A real browser adds a product to the cart and walks the checkout up to the payment step, like a customer, and shows you every step with a screenshot.

  • Free, no account
  • Stops before payment, no order
  • Nothing to install
· Updated · 2 min read
A speedometer in black and white

Where the time goes

StepUsual time sinkHow to see it
Opening checkoutLarge JS bundle, many RequireJS files, third-party scriptsNetwork tab, waterfall
Entering the addressestimate-shipping-methods calls live carrier APIsRequest time in Network
Choosing shippingTotals collectors: tax, rules, gift cardsshipping-information time
Place OrderPayment provider calls, fraud checks, order emails sent synchronouslypayment-information time

Time each request in the Network tab with a real cart. The slow one is usually obvious, and almost always one of these four.

Fix the usual suspects

  1. Carrier APIs. Cache rates, set timeouts on carrier calls, and keep a flat-rate fallback.
  2. Order emails. Turn on asynchronous sending, Stores → Configuration → Sales Emails → General → Asynchronous sending, so Place Order does not wait for SMTP.
  3. Cart price rules. Many active rules with complex conditions slow every totals call; disable expired ones.
  4. Third-party scripts. Load chat, analytics and A/B tools after checkout is interactive, or not on checkout at all.
  5. Production mode and bundling. Production mode with compiled DI; measure before enabling JS bundling, which can make checkout heavier.
bash
bin/magento deploy:mode:show
bin/magento config:show sales_email/general/async_sending
Asynchronous emails need cron

With async sending on, emails go out from cron. If cron stops, confirmations stop too.

Measure the purchase

Page speed tools measure the first page load. Checkout is a sequence of requests after it, so measure the whole purchase: time per step, every run, from the same place. A rate call that drifts from one second to eight over a week is a carrier problem coming.

Set a limit and alert on it

Pick a limit per step, for example shipping rates within three seconds, and alert when it is passed several runs in a row. MageSentinel records the time of every checkout step on each run, so you see which step slowed down. Related: hosting limits under load and third-party scripts on checkout.

Check your own store now with the free Magento checkout test: it walks the checkout in a real browser, Luma or Hyvä, and shows the step where it stops.

Find out your checkout broke before your customers do.

Real checkout checks for Magento and WooCommerce · free plan · no card requiredMagento checkout monitoring →
FAQ

Common questions

Still have a question?More answers, and a way to reach us.Support →
01Why is Magento checkout slow?

Most often live carrier rate calls, heavy totals collection from many price rules, payment and fraud calls on Place Order, synchronous order emails, and third-party scripts.

02How do I find the slow step in Magento checkout?

Time each REST request in the browser Network tab with a real cart: estimate-shipping-methods, shipping-information and payment-information.

03Should Magento send order emails asynchronously?

Yes for speed, so Place Order does not wait for the mail server, as long as cron runs reliably.