Subtotal:$0.00
![]() |
Genuine OEM 51318159785 - Windshield Molding (Rear Upper)
Product Overview
This Genuine OEM 51318159785 windshield molding is the factory rear upper trim piece for BMW 5 Series sedans and M5 models from 1997 to 2003. It fits E39 chassis 528i, 530i, 540i, and M5 variants, providing a secure seal and finished appearance where the rear window glass meets the body. OEM moldings are engineered to exact factory specifications and are the preferred choice for dealership repairs and owners seeking factory-matched fitment and durability.
This windshield molding is a single component. Verify your vehicle's year, model, and body style before ordering to ensure correct fitment.
Cross Reference Numbers
This Genuine OEM 51318159785 is equivalent to or replaces the following part numbers: 51-31-8-159-785, 51318159785.
Vehicle Compatibility
This part fits the popular models below. For Fitment Confidence, please use the vehicle selector tool above to verify exact compatibility for your vehicle.
- BMW 528i 2.8 L6 Gas (E39): 1997–2000
- BMW 540i 4.4 V8 Gas (E39): 1997–2003
- BMW 525i 2.5 L6 Gas (E39): 2001–2003
- BMW 530i 3.0 L6 Gas (E39): 2001–2003
- BMW M5 5.0 V8 Gas (E39): 2000–2003
This may also fit other applications. Please use the vehicle selector tool to verify fitment.
Why Shop at eEuroparts.com?
- Proven Expertise: Over 25 years of experience with European vehicles means we know your car inside and out.
- Fitment Confidence: Our accurate cataloging ensures you get the right part the first time, backed by our fitment guarantee.
- Fast, Reliable Shipping: Most in-stock orders ship the same or next business day from our U.S.-based warehouse.
- Transparent Pricing: Competitive prices with no hidden fees or surprise charges.
- Exclusive Kits That Fit™: Complete repair solutions with no guesswork.
- Established Trust: Serving the European car community since 2000.
Frequently Asked Questions
What is a windshield molding and why would I need to replace it?
The windshield molding is the rubber or plastic trim that runs along the edge of the rear window glass, sealing the gap between the glass and the body panel. Over time, moldings can crack, harden, shrink, or separate due to UV exposure and temperature cycling. A damaged molding allows water and air leaks into the cabin, compromises the seal, and detracts from the vehicle's appearance. Replacement restores the factory seal and finish.
How do I know if my BMW E39 5 Series rear windshield molding needs replacement?
Signs of a failing rear windshield molding include visible cracks or splits in the rubber, separation or gaps between the molding and the glass or body panel, water dripping into the trunk or interior after rain, wind noise around the rear window, and a hardened or brittle appearance. If you notice any of these, replacement is recommended.
Is this the correct molding for my 1999 BMW 528i?
This part is designed for 1997–2003 BMW E39 5 Series models, including the 528i, 530i, 540i, and M5. The 1999 528i is covered by this fitment. Always verify your vehicle's year, model, and body style using the vehicle selector tool on this page to confirm exact compatibility before purchase.
What tools or skills do I need to install a windshield molding?
Windshield molding installation typically requires basic hand tools such as a trim removal tool or plastic pry tool to safely release the old molding without damaging the window frame or body. The process is generally straightforward and can be completed by a DIY enthusiast with mechanical aptitude. However, if you are uncomfortable working around glass or trim, professional installation is recommended to avoid accidental damage.
Why choose Genuine OEM over an aftermarket molding?
Genuine OEM parts are manufactured to BMW's exact specifications and are designed to fit and function identically to the original component. They carry the assurance of factory quality and are the standard choice for dealership repairs. Aftermarket alternatives may vary in material, fit, and longevity. For a critical trim component like a windshield molding, OEM fitment and durability offer peace of mind.
Will this molding fit my M5?
Yes. This molding is compatible with the BMW M5 from 2000 to 2003 (E39 chassis). Verify your specific model year and body style using the vehicle selector tool to confirm fitment before ordering.
Order Genuine OEM 51318159785 today to restore the factory rear window seal on your BMW E39 5 Series. In-stock orders ship same or next business day from our U.S. warehouse, and our fitment team is one call away if you need help confirming the right part for your BMW.
Note: All information on this page and in the FAQ is for general reference only. Verify fitment and consult a professional as needed. eEuroparts.com is not responsible for incorrect part selection or installation.
- BrandGenuine OEM
- ManufacturerGenuine OEM
- MPN51318159785
- Part TypeWindshield Molding
- PositionRear Upper
- OE Part Numbers51-31-8-159-785, 51318159785
- Fitment
- Fitment TypeVehicle Specific
| Year | Make | Model | Submodel | Notes |
|---|---|---|---|---|
| 2003 | BMW | 525i | Base (2.5 L6 GAS) | |
| 2003 | BMW | 530i | Base (3.0 L6 GAS) | |
| 2003 | BMW | M5 | Base (5.0 V8 GAS) | |
| 2003 | BMW | 540i | Base (4.4 V8 GAS) | |
| 2000 | BMW | 528i | Base (2.8 L6 GAS) | |
| 2000 | BMW | 540i | Base (4.4 V8 GAS) | |
| 2000 | BMW | M5 | Base (5.0 V8 GAS) | |
| 2002 | BMW | 530i | Base (3.0 L6 GAS) | |
| 2002 | BMW | M5 | Base (5.0 V8 GAS) | |
| 2002 | BMW | 540i | Base (4.4 V8 GAS) | |
| 2002 | BMW | 525i | Base (2.5 L6 GAS) | |
| 1999 | BMW | 540i | Base (4.4 V8 GAS) | |
| 1999 | BMW | 528i | Base (2.8 L6 GAS) | |
| 2001 | BMW | 530i | Base (3.0 L6 GAS) | |
| 2001 | BMW | 525i | Base (2.5 L6 GAS) | |
| 2001 | BMW | 540i | Base (4.4 V8 GAS) | |
| 2001 | BMW | M5 | Base (5.0 V8 GAS) | |
| 1997 | BMW | 528i | Base (2.8 L6 GAS) | |
| 1997 | BMW | 540i | Base (4.4 V8 GAS) | |
| 1998 | BMW | 528i | Base (2.8 L6 GAS) | |
| 1998 | BMW | 540i | Base (4.4 V8 GAS) |
Warranty Overview
At eEuroparts, we stand behind the quality of the products we sell. Every part we offer is backed by a warranty designed to give you peace of mind and protect your investment.
Standard Warranty – Most Parts
Coverage: 2 years or 24,000 miles (whichever comes first) from purchase date.
Protection: Defects in materials or workmanship under normal personal use.
Eligibility: Applies only to the original purchaser and the vehicle where the part was first installed.
Exclusions:
Wear-and-tear items (brake pads, filters, bulbs, wipers, etc.)
Commercial, fleet, rideshare, off-road, or racing use
Improper installation, misuse, accidents, or modifications
Not Covered: Labor, shipping, towing, or incidental costs.
Bison Performance Warranty – Our House Brand
Coverage: Limited Lifetime Warranty for as long as you own your vehicle.
Applies To: All products sold under the Bison Performance label.
Premium Protection: Goes beyond our standard warranty — if it’s a Bison product, the 2-year/24k mile limit is replaced with lifetime coverage.
Exclusions: Same as the standard warranty (normal wear, commercial use, improper installation, etc.).
What’s Included: Replacement of the defective product (labor and shipping excluded).
Warranty Claim Requirements
To keep claims fast and fair, we require:
Proof of purchase (invoice or order confirmation).
Photos or videos showing the defective part, order number, date, VIN, and odometer reading.
Diagnostic reports or part returns for non-visible issues may be requested.
Claims must be truthful, properly documented, and reflect normal consumer use.
Buy With Confidence: We back our products because we believe in their quality, with a transparent, customer-first warranty process you can trust. And with Bison Performance products, you’ll enjoy Limited Lifetime protection—an assurance few brands can match.
For full details and exclusions, please see our complete Warranty Terms & Conditions.
This summary is for convenience only. For full warranty coverage details, exclusions, and requirements, see our official Warranty Terms & Conditions. In case of conflict, the full policy governs.
Return Policy Overview
Most parts can be returned within 30 days of delivery if unused, uninstalled, and in original packaging.
To start a return, contact customer support via Chat or Contact Us.
Restocking fee: Up to 20% may apply for certain orders (buyer’s remorse, order errors, or special-order items)
Refunds: Issued to your original payment method within 3–5 business days after inspection
Exchanges: Not automatic — please return and reorder
Replacements: May be approved for incorrect or defective items reported within 7 days
Not returnable:
Used or installed parts
Electrical components
Opened filter kits, gaskets, or contaminated items
Final sale or custom orders
Important Notes:
Return shipping is your responsibility unless we made a verified error
Fitment is the customer’s responsibility (we can assist, but do not guarantee)
Country of origin may vary and is not grounds for return
For complete details, please see our full Return Policy.
This Returns summary is provided for convenience only. All returns, refunds, and exchanges are subject to the complete Returns Policy. In the event of any conflict, the full policy governs.
Fast, Reliable Shipping — Straight to Your Door
We ship most orders the same day when placed before 2 PM CST (Monday–Friday). Our main warehouse is just east of Nashville, TN, and we also ship from multiple locations nationwide to get your order to you as quickly as possible.
We use trusted carriers like UPS, FedEx, and USPS.
Tracking info is emailed to you as soon as your order ships.
Delivery estimates at checkout are based on carrier data, but not guaranteed.
Need help with a shipment?
If your order is missing, damaged, or incorrect, just let us know within 5 days of delivery. We’ll walk you through the quick claim process — including a few photos to help us make things right.
For complete details, please see our full Shipping Policy.
This Shipping summary is provided for convenience only. Delivery times, carrier terms, fees, restrictions, risk of loss, and other details are governed by our complete Shipping Policy. In the event of any conflict, the full policy governs.



