The cost of installing a privacy fence depends on factors such as material, length and height of the fence, labor costs, and any additional features like gates. On average, homeowners can expect to pay between $15 to $40 per linear foot for materials alone. When including installation fees, the cost can range from $30 to $60 per linear foot or more.