Last mile delivery: the ecommerce logistics challenge

Price persuades a customer to buy the first time. One failed delivery can be enough to stop them coming back.
Last mile delivery is the final stretch of a shipment, from the last distribution centre to the buyer’s door or collection point. It is the great logistics challenge of ecommerce because it concentrates failed deliveries, delays and incidents, it is the stage the shop controls least, and it is the one the customer judges first-hand.
Key points
- The last mile is the final leg of delivery and the only one the buyer experiences directly, so much of their opinion of the shop depends on it.
- The most common problems are customers who are not at home, products damaged in transit that end up as returns, and a lack of information about where the parcel is.
- The most established solutions are order tracking, collection points and parcel lockers, delivery by independent drivers and marketplace logistics such as Amazon FBA.
- Delivery drones and robots have been in trials and limited services for years; they depend on regulation and on each city’s infrastructure.
- Shipping cost is part of the price the customer compares: a shop can look cheaper and turn out more expensive once delivery is added.
What is last mile delivery in ecommerce?
Last mile delivery is the stage that runs from the warehouse or distribution centre closest to the destination to the physical handover of the parcel. The term does not refer to an exact distance: it can be an urban trip of a few kilometres or a much longer rural route.
An ecommerce shipment is usually split into three stages. Each one has a different party in charge and gives the online shop a different degree of control.
| Stage | What it covers | Shop’s control |
|---|---|---|
| First mile | Collecting the order from the shop’s or supplier’s warehouse | High: it depends on your order preparation |
| Middle mile | Transport between the carrier’s warehouses and distribution centres | Medium: managed by the logistics operator |
| Last mile | Delivery from the distribution centre to the customer or collection point | Low: it depends on the driver, the customer’s schedule and the destination |
The last mile is the most delicate stage because it combines many stops with few parcels each, delivery windows that do not always match the buyer’s, and direct contact between the driver and the customer. If you want to review the rest of the chain, these tips to make your shop’s logistics more reliable cover the earlier stages.
Last mile delivery problems
In Spain, 1.335 billion parcels were sent in 2025, 10% more than in 2024, according to the CNMC press release on its 2025 Annual Postal Sector Report (in Spanish). The CNMC household panel for the second half of 2025 found that 61% of users received at least one parcel from an online purchase; of those, 16% had a delivery incident with their latest parcel and 35% returned a purchase.
The growth of online retail has made the last mile harder for logistics operators and shops alike. Four factors explain why delivering well at a reasonable cost is so difficult.
1. More online customers
More home orders mean more stops per route and more returns. Some of those returns come from products damaged in transit, which adds a second shipment, the refund process and, often, an item that can no longer be sold as new.
2. Customers are not at home
Working hours make it hard to find the buyer at home. Every failed attempt forces a second delivery or a trip by the customer to the carrier’s depot, and both cause frustration with the shop, even when the problem is not its fault.
3. The customer blames the shop, not the carrier
Friction between driver and customer at the moment of delivery damages the shop’s image, not the carrier’s. The buyer does not distinguish between who sells and who delivers: for them, the order belongs to your ecommerce business from start to finish.
4. Delivery matters as much as price
Logistics has traditionally been judged on cost, with quality as an afterthought. Today the quality of the delivery service is added value that customers weigh up when choosing where to buy, just like price or the range of the catalogue.
Buyers expect three things from an online shop: that the order arrives without errors, in perfect condition and as soon as possible. The 24- or 48-hour delivery times offered by many marketplaces have become the benchmark buyers compare against.
Last mile delivery solutions
Improving the final leg helps the shop stay competitive and keep customers satisfied. The table summarises what each solution fixes and where it falls short.
| Solution | What it fixes | Main limitation |
|---|---|---|
| Control and traceability | Shipment visibility for the shop and the customer | It does not prevent incidents, it only detects them sooner |
| Collection points and lockers | Failed deliveries because the customer is out | The customer makes the final trip |
| Delivery by independent drivers | Flexible capacity at peak times | Service quality is harder to keep consistent |
| Marketplace logistics (FBA) | Storage, shipping and returns handled by Amazon | Fees and less control over stock |
| Drones and robots | Fast deliveries in specific areas | Regulation, weather and infrastructure |
Control and traceability
Transport management software lets you check that goods leave and travel in the right conditions. It centralises information on vehicles, routes and carriers, and feeds process data back to the shop.
That data can include delivery forms, images of signed delivery notes or photos of the delivered parcel. This evidence makes it easier to resolve complaints about orders the customer says never arrived.
Tracking also has to reach the customer. A tracking link with the shipment status and an estimated delivery window reduces queries to customer service and makes the final days of waiting less stressful.
Collection points and lockers
Networks of pick-up points and automated lockers let customers collect their order when it suits them. The driver drops many parcels at a single stop and the problem of the buyer who is not at home disappears. Even so, the home is still the main destination: according to the same CNMC panel, 86% of parcels in Spain were delivered to the recipient’s home, 9% to pick-up points and 3% to self-service lockers.
Offering this option at checkout, alongside home delivery, gives the buyer control over the last leg. Many carriers have their own networks that integrate with the most common ecommerce platforms. In Spain, for example, Correos offers Citypaq smart lockers for collecting, sending or returning parcels, located near home or work and in busy places such as supermarkets, petrol stations and shopping centres.
The “Uberisation” of the last mile
The buying process does not end when the customer checks out, but when the consumer receives the product. Some shops and brands have adopted models inspired by ride-hailing platforms to make that delivery more agile.
The “Uberisation” of the last mile means publishing delivery jobs in an app so that independent drivers can take them on for a fee per delivery. Companies get cheaper deliveries, a continuous flow of parcels and more capacity at peak times.
This model has legal limits, which vary by country. In Spain, Law 12/2021 of 28 September (in Spanish), known as the “rider law”, presumes an employment relationship when a company organises, directs and controls the delivery of any product or goods through a digital platform using algorithmic management. Before relying on independent drivers, check with an employment adviser how that relationship fits the rules where you operate.
The model also has operational limits. Behind every delivery there is route planning, systems and tools that an occasional driver does not always master, and service quality is harder to keep consistent.
In the United States, Amazon runs Amazon Flex, a programme in which drivers deliver parcels using their own vehicle.
Fulfilment by Amazon (FBA) is another way to hand over the last mile problem, especially for international sales. With FBA you send your stock to Amazon’s centres and the platform stores, prepares, ships and handles returns for those orders in exchange for its fees. You can see how it works in full in this guide to selling on Amazon FBA and weigh up the pros and cons of selling on a marketplace.
Outsourcing delivery does not remove price competition. On Amazon, several sellers offer the same product with similar delivery terms, and price becomes the variable that moves most; that is why it pays to rely on an Amazon price optimiser that keeps an eye on those sellers.
Delivery drones and robots
Delivery drones and robots have been in trials and limited services for years. Their roll-out depends on overcoming infrastructure, safety and regulatory hurdles in each country.
According to Amazon’s August 2026 announcement, Prime Air delivers by drone from 11 locations in the United States and from Darlington (England), its first service outside the US. Its stated goal is to reach around 500 towns and cities in the US.
Drone deliveries are still limited to specific areas, light parcels and good weather. In the European Union, drone operations are governed by Commission Implementing Regulation (EU) 2019/947, which sets operational categories and requirements for operators.
On the ground, Starship Technologies developed a small electric, autonomous robot to deliver food and parcels over short distances. In 2016, after testing its robots in 12 countries, it launched a pilot programme with partners such as Just Eat, Hermes and Metro Group. In 2026, according to Starship itself, it operates in eight countries and has completed more than 10 million deliveries.
Neither drones nor robots solve the last mile for a mid-sized online shop today. They are worth watching to see where urban delivery is heading, but short-term decisions come down to the carrier, collection points and keeping the customer informed.
How does shipping cost affect the final price?
Shipping cost is part of the price the customer compares. A shopper checking several shops or a comparison site adds product and delivery together, so the cheapest offer is not the one with the lowest listed price but the one with the lowest total.
Only a minority pay for delivery in Spain. In the same CNMC panel, only 17% of users said they had paid shipping costs on their online purchase, and 78% of them would accept delivery away from home in exchange for a discount on those costs.
Here is an example with illustrative figures, excluding VAT and fees for simplicity. You sell a product that costs you €30.00 at €49.90 and charge €4.95 for delivery, while shipping costs you €4.20. Your competitor sells it at €52.50 with free delivery.
| Scenario | Listed price | Total the customer pays | Your margin before fees |
|---|---|---|---|
| You: €49.90 + €4.95 delivery | €49.90 | €54.85 | €20.65 (54.85 − 30.00 − 4.20) |
| Competitor: free delivery | €52.50 | €52.50 | Not available |
| You: €52.50 with free delivery | €52.50 | €52.50 | €18.30 (52.50 − 30.00 − 4.20) |
Your listed price is €2.60 lower, but the customer pays €2.35 more with you. Matching the competitor with free delivery costs you €2.35 of margin per order: you go from €20.65 to €18.30 and stay well above zero.
The three usual policies are charging delivery separately, building it into the price with free delivery, or offering free delivery above a minimum order value. Any of them works if the final price, including delivery, is competitive and leaves a margin. To set the base for that calculation, follow this guide on how to price a product.
Comparing prices without delivery leads to the wrong conclusions. Competitor price monitoring that separates the price with and without delivery shows whether you are really expensive or only on the listed price, on your website and on the marketplaces and comparison sites where you sell.
The last mile is the part of delivery that weighs most on the customer experience and the one the shop controls least. Poor service at this stage means extra costs, returns and possibly losing a buyer who was expensive to acquire.
Keeping customers matters as much as winning them. Offering tracking, delivery alternatives such as collection points and a final price including delivery that stands up to comparison is what brings that customer back to your online shop.
How do you compare your delivered price with your competitors’?
To compare properly you need your rivals’ prices with and without delivery, updated frequently, and a minimum that protects your margin. Boardfy is a SaaS platform for competitor price monitoring and dynamic pricing for e-commerce, with direct price updates on Amazon, eBay, Google Shopping and Mirakl marketplaces.
- Boardfy compares prices with or without delivery, so you see the total the customer pays.
- Boardfy reads your rivals’ prices every 6 hours and applies your rules every 30 minutes.
- Boardfy calculates your margin from the product cost, the marketplace fee, payment processing costs and costs such as picking, and never goes below your minimum.
Boardfy does not decide your strategy: it applies the rules you define. On channels without a direct connection, the new price goes to your shop or your ERP. Try it free for 7 days, no card required.