Yes, you can earn United MileagePlus miles on Lufthansa flights because both airlines are founding members of the Star Alliance. To ensure you get credit, you must enter your United MileagePlus number when booking your Lufthansa ticket or at check-in. The number of miles you earn is based on the fare class and the flight distance, not necessarily the price of the ticket (unless the ticket was issued by United, starting with "016"). For example, in 2026, "Deep Discount Economy" (K or L class) might only earn 25% of the distance flown, while "Business Class" (J or C) could earn 200%. These miles count as "Award Miles" for booking future trips and "Premier Qualifying Points" (PQP) toward United Elite status. However, note that Lufthansa "Light" fares may sometimes be ineligible for mileage accrual depending on the specific partnership agreement at the time of flight. Always keep your boarding pass until the miles appear in your account, as "retro-crediting" a partner flight can sometimes be a bureaucratic hurdle in the 2026 digital systems.