A pergola costs somewhere between $500 and $5000 to buy. The cost of building one costs less as far as materials are concerned and more as far as labor is concerned.