Many builders do not install flush to the floor compensating for height of carpet.
Install baseboard or carpet first.
Generally the installation of carpet or baseboard is easier for whoever installs first.
Baseboard installed on top of carpet should be installed at approximately the same height with this exception.
Ask your carpet installer their preference to begin the discussion.
Or you may be replacing the baseboards but leaving the carpet.
There may be instances where you want to put the carpet down first.
The baseboard goes in first always the carpet installers don t like this if they have to install new thicker baseboard for the customer they have to remove the old tack and install new this is very time consuming and their usually on piece work.
This could result in a tight fit based upon how close to the wall the tack strips are placed normally the old tack strips are not replaced when installing new carpet.
If you are not intending to install quarter round or base shoe the baseboard.
In my house they had to go from carpet to tile and lino.
If you re in one of these situations follow these instructions to install the trim after the carpet.
Nice taller baseboards should frame the room first prime caulk and base coat as above before you install carpet.
A really thick shag carpet can make it difficult to judge how high to place the trim.
How to install carpet first.