US discount retailer Kmart has announced it has finalised a deal to sell 18 stores to Home Depot for an aggregate purchase price of US$271m in cash.