8 Best Paint Sprayers for Trim & Doors

Paint Sprayers For Doors & Trim

It’s time to paint your trim and doors. They’re looking a bit scraggy and they’d love a new coat of paint. How to go about it? The first step is to select the right sprayer. That’ll save you more time than a mere brush or roller.

You may be wondering what the best paint sprayer for doors and trim is. There are many but the following 9 sprayers really stand out. They’re all dependable units with good features. They have what you’ll need to get your paint job done with careful, loving detail.

The top three on this list are:

1. Graco Magnum 262800 X5 Stand Airless Paint Sprayer – Best overall

The Graco Magnum 262800 X5 is our number one pick. It’s strong, durable, and delivers paint at a super-fast speed. It’s easy to use. 

The cleaning-up process is very easy. It comes with a strong steel stand and a long hose. It’s also got excellent reviews from a lot of DIYers, handymen, and professional painters, too.

2. Wagner Spraytech 0518080 Control Spray Max HVLP Paint or Stain Sprayer – Best for trim

Our runner up is the Wagner Spraytech 0518080. It’s the best for trim. It offers you the right amount of precision that you need. Trim is quite a minute detailing. 

If you lack control in your work, you can mess up the surrounding walls, too. That would suck. This paint sprayer gives you that control. It also has other cool features worth checking out.

3. Wagner 0529021 FLEXiO 890 Stationary HVLP Paint Sprayer– Best for doors

In third place is the Wagner FLEXiO 890. This sprayer is great for doors because it sprays at low pressure and is easy to control. 

But it’s powerful, so you’ll paint your doors quickly. All this will result in a professional look, super-fine finish. It also comes with reversible tips and other cool features.

We’ve added a total of 9 excellent sprayers. Check out our entire list below:

Best Paint Sprayers For Trim & Doors

1. Graco Magnum 262800 X5 Stand Airless Paint Sprayer – Best overall

2. Wagner Spraytech 0518080 Control Spray Max HVLP Paint or Stain Sprayer – Best for trim

3. Wagner 0529021 FLEXiO 890 Stationary HVLP Paint Sprayer– Best for Doors

4. HomeRight C800971 Super Finish Max Extra Fine Sprayer – Best paint sprayer for interior trim

5. Wagner Spraytech 0529010 FLEXiO 590 Handheld HVLP Paint Sprayer – Best paint sprayer for interior doors

6. Earlex HV5500 HVLP Spray Station Paint Sprayer– Best professional sprayer

7. Wagner 0515077 ProCoat V2 Paint Sprayer – Best for exterior painting

8. Wagner (0523014) 9175 Airless Twin Stroke Piston Pump Paint Sprayer – Best cart-based sprayer

Now, let’s go into more detail about why these three are the best paint sprayers for trim and doors. Each has its own unique pros (and cons!). This list is sure to help you figure out which sprayer is for you.

Now, on to the descriptions.

1. Graco Magnum 262800 X5 Stand Airless Paint Sprayer

If you’re looking for a versatile, durable, and dependable unit, look no further than the Graco Magnum 262800 X5. This airless paint sprayer works at high pressure. It comes with adjustable pressure settings, so don’t worry about losing control of it. This is suitable for painting interior and exterior trim and doors, both. 

The Graco Magnum 262800 X5 is easy to use and maintain. It’s a lightweight sprayer with many great features. Use this sprayer if you’re a DIYer, or if you paint professionally – it’s good for multiple projects. Powerful but easy to handle, it’s our number one paint sprayer for trim and doors.

With the Graco Magnum 262800 X5, spray paint the edges and cracks of your trim without worrying about those hard-to-reach places. You’ll get a professional-looking finish without much hassle. It’s also a durable unit, resistant to wear and tear. You will be using this sprayer for a long time if you maintain it properly.  

Want to spray undiluted paint?

You can, with the Graco Magnum 262800 X5. Thanks to its powerful stainless steel piston pump, you’ll be able to spray certain paints at high pressure. This means you won’t have to dilute them. What a time-saver, right?

Keep in mind that you must dilute heavier paints such as exterior latex. Just add a few ounces of water to a gallon of paint. That’ll do the trick.

Airless sprayers are tough to control…not

This sprayer comes with several adjustable controls. You’ll be working at high pressure, yes. But you’ll be able to increase or decrease the paint flow. You can adjust the pressure according to the size of what you’re painting. This makes your work a lot easier.

Save even more time on the clean-up

The Graco Magnum 262800 X5 can be connected to a tap and flushed out. Just attach a garden hose to it, connect the hose to a tap and turn it on. All the unwanted paint and muck inside will get cleaned right out. In record time.

Oh no, your tip got clogged. Time to stop spraying?

Yes, but just for a bit. The Graco Magnum 262800 X5 comes with reversible switch tips. If your sprayer gets clogged, just take out the tip, reverse it, and stick it back in. Continue spraying. 

Sprays directly from a paint bucket 

Unlike many other paint sprayers, the Graco Magnum 262800 X5 can be set up with the paint can directly. This allows it to suck up paint directly from the container. You won’t have to spend energy or time transferring the paint. You can spray material from a 1 to 5-gallon bucket. You can spray up to 125 gallons of paint per year.

75-feet long hose

The Graco Magnum 262800 X5 can be fitted with a 75-feet long hose. It will give you a good amount of flexibility and make your work easy. You can reach those tough to paint corners easily with this hose. You’ll deliver a seamless finish without any patches or spots with this sprayer.

Check Price on Amazon


  • Sturdy and durable paint sprayer.
  • Light in weight, so it’s easy to maneuver.
  • Can paint areas that are difficult to reach.


  • Produces overspray.
  • Uses a lot of paint.

2. Wagner Spraytech 0518080 Control Spray Max – Best paint sprayer for trim

The second on our list is an HVLP sprayer – the Wagner Spraytech 0518080 Control Spray Max. This is a lightweight spraying system that has many happy customers. It’s super easy to set-up and clean. This sprayer has customizable pressure and a flexible hose that make it one of the best sprayers for trim.

The Wagner Spraytech 0518080 creates less overspray. Many other sprayers claim to have this feature – but this one actually delivers. Since it does such a neat job, it’s the best paint sprayer for painting interior trim. You won’t splatter paint onto the adjacent wall or doors (or ceiling) while using this sprayer.

It’s also built in such a way that you won’t tire when you work with it. The weight of the turbine is kept on the ground. The body comes with a handle, so you can carry it from place to place. While brushes and rollers, and even some sprayers, can tucker you out while you’re reaching up into those corners, this won’t.

Want an easy to maneuver sprayer?

That’s what you’ll get with the Wagner Spraytech 0518080. It uses HVLP technology to spray smooth finishes on door trim and more. It works on low pressure, so you’ll have fewer issues with overspray. It’s easy to move into nooks and crannies like door joints, the edges of your trim, etc.

Do you like spraying different materials?

This sprayer is perfect for you. The Wagner Spraytech 0518080 comes with a long-lasting and durable nozzle. Although made out of plastic, it’s sturdy and strong. Spray many materials with this sprayer easily. 

The Wagner Spraytech 0518080 has a two-stage turbine. This can spray diluted latex paints and thin materials (like stains). You can paint walls and surfaces in the blink of an eye. With this sprayer, you can spray stains, sealers, interior latex paint, and more. Just ensure to dilute thick paints to avoid clogging.

What’s the best thing about HVLPs?

It’s probably the adjustable settings that these sprayers come with. You can use the pressure control dial to adjust the pressure according to your preference. You won’t face any issues with unmanageable pressure.

There’s a material flow adjuster, too. Just turn the air cap to spray in any of three patterns – horizontal, vertical, and rounded. This versatile sprayer can be adjusted – the paint spray’s width adjusts from 1/2 in. to 12 in.

This sprayer has a good design

The Wagner Spraytech 0518080 has a stationary base that’s connected to the gun. They’re joined by a 20-feet hose. This hose is flexible; you’ll reach right up to the corners of the tallest doorway with this. It’s plastic and delivers any material with ease. It’s also lightweight. You won’t feel tired using the lightweight gun, either.

Ew, my plastic cup is stained?

Not with the Wagner Spraytech 0518080. This sprayer comes with two material cups – a 1.5-quart plastic cup and a professional-grade metal cup that can hold 1 quart of paint. Use the metal cup oil-based materials to avoid any staining.

Check Price on Amazon


  • Creates less overspray.
  • Best paint sprayer for interior trim.
  • 3 spray patterns.
  • Adjustable flow control.
  • Comes with two paint containers.


  • Suitable for low viscosity materials.
  • Not a good sprayer for outdoor paintwork during the hot months.

3. Wagner 0529021 FLEXiO 890 Stationary HVLP Paint Sprayer– Best paint sprayer for doors

The Wagner FLEXiO 890 is the best paint sprayer for doors. This is because it’s good for a wide variety of projects. It has a whole host of great features and comes with two nozzles. It’s a versatile sprayer. You’ll find it very useful.

It’s our pick for the best paint sprayer for doors. This is because of its special Fine Detail nozzle. It delivers a smooth finish, which is ideal for painting both interior and exterior doors.

Another benefit is how easy to clean this machine is. It’s annoying to spend ages cleaning up, right? This doesn’t happen with the Wagner FLEXiO 890, thanks to its Lock-N-Go feature. 

Do you have a wide variety of painting projects to do?

Then the Wagner FLEXiO 890 is the right investment for you. It can deliver excellent finishes on doors and trim, as well as furniture, walls, ceilings, and more. It has adjustable settings, too. It has a powerful turbine, as well as two nozzles. 

The Wagner FLEXiO 890 comes with two painting nozzles – this makes it twice as convenient. The iSpray is good for spraying large surface areas. You can paint large interior projects quickly with this. The Detail Finish nozzle is good for small surface areas. 

The nozzles can deliver paint in a horizontal, vertical, or spherical form. You choose. 

The Wagner FLEXiO 890 also comes with a good cup capacity. You can hold 1.5 quarts of paint in the iSpray attachment and 20 ounces in the detail finishing cup. This is useful. It reduces the number of times you’ll have to refill the paint.

The spray gun is easy to carry around and use

The heavy body of the turbine is kept on the ground. With its weight on the floor, you just have to maneuver the light-weight spray gun. That reduces tiredness. It’s great for long projects. 

Want to spray undiluted paint?

You can with the Wagner FLEXiO 890. It has enough power to spray certain paints unthinned through the iSpray nozzle. This will save you a lot of time. (Please keep in mind that you have to thin paints if you’re using the Fine Detail nozzle.)

Of course – the turbine itself 

The Wagner FLEXiO 890’s X-Boost turbine is power-packed. It can cover an 8’’ x 10’’ surface in under 5 minutes if you’re using latex paint. It’s even quicker if you’re using thinner material. The sprayer can deliver 8.4 gallons of paint per hour. It’s so much faster than a roller or a brush.

Where can you store all these parts? The Wagner FLEXiO 890 has a convenient feature – its turbine base can be used to store the hose and both nozzles. This makes it really easy to keep everything in one place. 

Lock-N-Go technology

This allows you to disassemble the spray gun with ease and clean it. It also lets you switch between the nozzles and different paints.

Check Price on Amazon


  • Comes with two nozzles.
  • Has multiple settings.
  • Good capacity.
  • Comes with a long and flexible air hose.


  • Can overspray sometimes.
  • Can’t handle many thick paints

4. HomeRight C800971 Super Finish Max Extra Fine Sprayer – Best paint sprayer for interior trim

If you want to buy a paint sprayer but you don’t want to splurge, the HomeRight C800971 is your best buy. While you’ll find cheaper sprayers out there, this is a budget buy if you consider how versatile and multi-purpose it is.

 It’s adjustable, has good horsepower, and a large cup capacity. This sprayer doesn’t require much paint dilution. It’s a self-contained unit that doesn’t require a compressor. You’ll find it easy to use in many settings.

This handheld electric sprayer delivers paint at 450 watts. It has tips made out of brass. Those are sturdy and durable. They can withstand heat better than their plastic counterparts. These tips are resistant to corrosion and wear. They give the painter a lot of precision in their painting.

With its adjustable settings, various tips, and newly designed pick-up tube and vent, you’ll find it perfect for painting your interior trim. You won’t experience much hassle whether you’re spraying trims and doors, or larger projects. 

Users recommend keeping an eye on the plastic tube that brings the paint from the container to the sprayer. It needs to be connected tightly. Use both hands to make sure it’s fitted properly.

Various tip sizes

The HomeRight C800971 comes with three tips. They are of varying sizes; 1.5mm, 2mm, and 4mm. They’re interchangeable and help you manage different materials. You can spray chalk paint, milk paint, latex, enamels, primers, sealers, polyurethane, stain, and varnish.

You can add another three tip sizes to this sprayer. You’ll need to purchase those separately. Decide on what material you intend to spray. That will help you figure out which tip to use. 

As with most HVLPs, you must dilute the thicker paints with water. This will give you the best results.

Adjustable settings

The HomeRight C800971 comes with two different air caps. It has adjustable airflow valves. You can control the flow of your material, too. The width of the spray can also be changed from 1 inch to 12 inches. This sprayer paints in a horizontal, vertical, and rounded shape. 

With so many settings, you’ll be able to paint with a lot of control over your spray’s flow and output. You can tackle those doors with confidence! Explore the different adjustments. Figure out exactly what settings work for you. With enough practice, you’ll find a sweet spot. This will help you avoid over-spraying and under-spraying.

Versatile unit

Since the HomeRight C800971 can accommodate many tip sizes, it can spray both large and small projects. You can spray fences, decks, and walls. You’ll also get a great finish on your doors and trim.

Large cup capacity

With a 40-ounce paint container, you’ll save time on transferring paint. You won’t have to spend energy on refilling the container much. The cup is easy to maintain.

Quick clean up

The HomeRight C800971 is easy to keep clean. The sprayer comes with a brush and cleaning kit. You can disassemble it and wash it. If you paint with water-based materials, clean the sprayer with water. If you use oil-based materials, you can clean with mineral spirits. Either way – it’s a no-fuss process.

Check Price on Amazon


  • It has brass tips.
  • Many adjustable settings.
  • HVLP unit – so it’s great for doors and trims.


  • The tube can be loose.
  • Can’t spray thick materials undiluted.

5. Wagner Spraytech 0529010 FLEXiO 590 Handheld HVLP Paint Sprayer – Best paint sprayer for interior doors

Just like its cousin the Flexio 890, the Wagner 0529010 Flexio 590 is a handheld paint sprayer. It comes with two nozzles that make it good for painting a variety of projects. One nozzle is good for large surface areas, such as fences, decks, and walls. The other is more suitable for doors, cabinets, trim, and smaller surface areas. The latter is perfect for painting your interior doors.

One of the nozzles, the iSpray, can spray slightly thicker paints without diluting them. At the same time, since it’s an HVLP – we recommend mixing in at least a little bit of water to get the best results.

The Wagner Flexio 590 comes with adjustable settings, too. You can control its material flow, the air pressure, and change the fan patterns. It delivers a super smooth finish, with less overspray. 

Strong, fast X-Boost turbine

The Wagner Flexio 590’s turbine has 10-speed settings. You’ll have a decent amount of control over it. It can spray several materials with differing viscosity. It’s perfect for spray painting furniture, walls, ceilings, cabinets, and of course, doors and trim.

You can spray a variety of materials

The Wagner Flexio 590 comes with the iSpray nozzle and the Detail Finish nozzle. As you know, these give you a lot of freedom. You can select whichever material you wish to paint with, no problem. Just dilute the thicker paints and spray those through the iSpray. Use the Detail Finish for staining.

If you want to apply a thick latex, or any thick paint, onto your door – dilute your paint first. Put in a sufficient amount of water. Then use the Detail Finish nozzle. This nozzle will give you the fine finish you’ll want for the door. It’ll do this, without creating any overspray.

You’ll enjoy many adjustments

The X-Boost dial has 10-speed settings. You’ll be able to change the material flow as to your preference. You can also change the fan pattern to horizontal or vertical, wide or narrow. With so many adjustments possible, you’ll paint with control and precision. That’s ideal for painting doors. You won’t get any paint on your adjacent walls.

How to paint interior doors with the Wagner Flexio 590?

Users advise using cone strainers to keep out unwanted material from the gun. If you are applying a finish coat, add a paint leveler to the paint mixture. This is especially useful if you’re finishing trim work. 

Mix in clean water with your paint. Put all of this into the paint container directly. Mix it, until you create a thin mixture. Now paint. This will give you an excellent professional looking finish.

Check Price on Amazon


  • Comes with two nozzles.
  • Versatile sprayer.


  • Can create overspray if the wrong nozzle is used.
  • You’ll have to dilute the paint.

6. Earlex HV5500 HVLP Spray Station Paint Sprayer– Best For Professionals

If you’re looking for a powerful HVLP paint sprayer to help you work at a professional level – this is for you. The Earlex HV5500 Spray Station is intelligently designed. It’s made of strong and durable material. It has a powerful turbine that’s perfect for spraying wooden doors.

The Earlex HV5500 Spray Station is good for a variety of jobs. It’s suitable for light contactor jobs. Serious DIYers and hobbyists love it. It’s even used by car lovers. It has a range of adjustable settings. It’s easy to clean up. What more could you want?

Powerful turbine

The Earlex HV5500 Spray Station uses a 650-watt turbine. This creates superior finishes. It allows for a push-and-click system. You can switch between three patterns – horizontal, vertical, and rounded. 

This sprayer is excellent for painting doors and trim. You can also use it to refinish shutters, paneling, and more.

Versatile sprayer

Spray enamels, lacquers, urethanes, varnishes, glazes, shellacs, stains, and more. Paint with both oil-based and water-based materials. Just be sure to dilute any of the thicker materials for the best results. This is an HVLP after all.

The Earlex HV5500 Spray Station comes with many settings. Change the fan spray according to your needs. You can spray in a vertical, horizontal, or rounded pattern. Change between these settings with the push-and-click mechanism. Paint with precision and get a pro-level finish. 

A super-strong metal structure

The Earlex HV5500 Spray Station’s spray gun is made out of super durable steel. Its tip is also a 2 mm stainless steel tip and needle. It comes with a non-stick 1-quart metal container with PTFE coating.

Convenient on-board storage

Store the hose, gun, and power cord in the spray station’s base. This makes it super easy to find when you need to use it. It saves you space. The sprayer also comes with a carry handle. You can transport this around your workshop.

Check Price on Amazon


  • Professional level paint sprayer.
  • Fully metal paint gun.
  • Excellent for painting doors.
  • Durable unit.


  • Some people have faced issues with the gun spitting paint.
  • There are reports of the needle getting jammed.

7. Wagner 0515077 ProCoat V2 Paint Sprayer – Best for exterior painting

If you’re looking for a powerful airless paint sprayer – the Wagner 0515077 ProCoat V2 is a good pick. This sprayer can suck out paint straight from the container. You won’t have to transfer paint from the paint can to the spray gun container. It can attach to a hose and wash out all the unwanted paint after a session. This is a great device, with sturdy features.

Not many airless models have made it to this list. HVLPs are better suited for small-scale jobs. That being said, this airless is good for painting doors – specifically outside doors. This is the best paint sprayer for exterior trim and doors.

Since it’s airless, you can spray thick latex paints without thinning them. You’ll save time and effort on this. That being said, it never hurts to dilute your paints. That ensures excellent results. It also saves paint. That’s always a good thing.

Strong motor

Its motor has enough power to deliver 0.24 gallons per minute. The sprayer is especially good for sheds. It’s also good for painting exterior doors and trims. Since it’s airless, it may make a mess if you use it indoors. Ensure that you mask everything around you to avoid messy overspray.

Reversible tips

The Wagner 0515077 ProCoat V2 comes with 515 reversible tips. Your sprayer gets clogged while spraying, you won’t have to waste time to stop and clean it out. Just stop the sprayer, reverse the tip, and stick it back in. Start spraying again. This is a time saver. 

Can support a 25-feet airless hose

It comes with a 25-feet hose, which is useful for painting doors. Use it to get into the corners that rollers can’t normally reach. It’ll help you cut down your painting time. It’ll also prevent fatigue or physical aches and pains. Especially for those who have many paint jobs to do in a day. It’s good for hardcore painters and pro-level handymen.

Check Price on Amazon


  • Comes with reversible tips.
  • Has a strong motor.
  • Great for painting large surface areas.


  • Takes time to clean up.
  • Doesn’t have great pressure flow control.

9. Wagner (0523014) 9175 Airless Twin Stroke Piston Pump Paint Sprayer – Best cart-based sprayer

This airless cart-based paint sprayer packs a lot of power. It’ll be responsible for you getting a professional level paint-job on your door and trims. The Wagner 9175 Airless Twin Stroke comes atop a strong steel frame. You can wheel this around wherever you need to.

If you have a large amount of spraying to get done, this is a good bet. It takes time to clean up, though, due to overspray. Ensure that you cover and mask all your surrounding area very well. Otherwise, you will get tons of stray paint everywhere next to your door.

The Wagner 9175 Airless Twin Stroke can suck up paint directly from the can. It’ll save you time on transferring paint from can to container. It’s easy to clean, as you can attach to a hose and flush it out. 

Users recommend putting hose swivels on both the pump end and gun end of the hose. This makes it easier to unwind the hose. 

Durable paint sprayer

The powerful Wagner 9175 Airless Twin Stroke is a durable unit. It’s sure to last you a long time. It’s a great investment. You’ll be able to paint so many other projects aside from your doors. 

Easy to keep clean

To ensure paint sprayer durability, keep your sprayer clean. Make sure there isn’t any paint stuck in the device. Keep the needles clean, too. Luckily, the Wagner 9175 Airless Twin Stroke is easy to clean.

You can attach a bucket of water to the sprayer. Make it a 5-gallon bucket of water. Switch on the paint sprayer. Then spray the remaining paint into a bucket. You can use this paint later. 

Get a pro-level paint job

The Wagner 9175 Airless Twin Stroke comes with a heavy pump and a Quick Flow pusher valve. These deliver a super smooth finish wherever you use them. It can atomize even super thick materials with ease. Being airless – you don’t have to dilute most materials before use. If you’re into using latex, this is a good thing.

Check Price on Amazon


  • Comes with a 2-year warranty.
  • Comes on top of a strong steel metal frame for extra mobility.


  • Large cart

After you’ve picked the right paint sprayer for you, prepare your door and trim for painting. Prep the surrounding area, too. Take the necessary precautions and then paint. 

How do you do that? It’s easy. Follow these steps and you’ll get the best results on your trim and doors.

How to paint trim and doors with a sprayer?

Step 1 – Cleaning

You have to clean the area. Make sure there aren’t any objects that you can trip over. Next, take two buckets and two sponges. In one bucket, put in plain water. Add in a soapy solution in the other. Use the sponges to scrub off any dirt or grime that may be sticking to your door.

Step 2 – Sanding

Use a sander and then sanding paper to remove all the old paint from your surface. Make sure you get rid of every last bit. Try to get it as smooth as possible. This will make your new paint look even.

Step 3 – Dusting

Remove all the small particles of paint chips, dust, etc. from the area. You can then vacuum the area to get rid of any dust. This will make sure you avoid any dust particles getting into your brand-new paint. Especially while it’s still wet and sticky. You don’t want those. They’ll make your door look uneven.

Step 4 – Filling any holes

Finally, fill any grooves or holes on your door. Put in a filler and press it down with your hands. After that, use sanding paper to smoothen it out. Your door is now ready to be spray painted.

Step 5 – Prepare your paint 

If you’re using latex or thick material, mix in some water. You can either mix it within the paint cup or in a bucket. Get a good consistency and it’s ready to use. You don’t need to dilute stains or thin materials for most of the above paint sprayers.

Step 6 – Caulk the surface

If you want to, seal the surface with a water-proof sealant. This is not necessary but it will give you professional-looking results. 

Step 7 – Cover or mask the surrounding areas

You have to make sure that you put covers on the parts of your room that you don’t want to be painted. Otherwise, you might find yourself in a messy situation. Tape up everything except your door and trim.

Step 8 – Spray away!

Stand at least 8 inches away from your door and start spraying. Spray in up and down strokes. Do this until you create a nice and even layer of paint. Spray in sweeping motions. 

Feel comfortable to adjust the spray pattern or material flow according to what’s convenient for you.


What kind of paint do you use for trim and doors?

Since doors are usually made out of wood – it’s better to use oil-based paints. These are naturally resistant to moisture. Your wooden doors won’t suffer during rains. Fewer chances of rot.

On the other hand, don’t use eggshell or flat paint on trim and doors. Those don’t clean up easily. Dirt gets stuck to them. You could use semi-gloss and gloss if you want. Those are easier to maintain.

Is it better to spray or brush trim?

While paint brushing creates less mess, it’s far too time-consuming. It also takes a lot of effort. A paint sprayer will save you time. It will save you tons of effort. You won’t have to use a ladder or struggle to reach corners or trim that is too high for you to reach normally.

Do I paint the trim or the wall first?

While this is subjective, it’s probably best to paint the trim first. Paint it, let it dry. Then tape it off and keep it safe while you paint the door.