The purpose of a buy to close transaction is to close out any short option position that required you to sell to open in order to initiate the trade. In this way, the process is similar to short selling stock. You initiate a trade by selling something first (and receiving cash) and then later you close the trade by buying it back.
To illustrate, please see the three examples below.
Here are three quick examples:
If, however, you anticipate that the put will retain value at expiration (i.e. the stock will trade below the strike price), and if you're unwilling to allow the put to be exercised against you, then you will have to buy to close in order to close out the transaction.
If it looks like the stock will close below the strike price of the short put (the one you sold to open) then you will most likely want to close the entire bull put spread. And you do that by simply reversing the action of the initial trades. The put you sold to open must be bought back to close, and the second put which you purchased (buy to open) at the lower strike price must be sold to close.
>> The Complete Guide to Selling Puts (Best Put Selling Resource on the Web)
>> Constructing Multiple Lines of Defense Into Your Put Selling Trades (How to Safely Sell Options for High Yield Income in Any Market Environment)
Option Trading and Duration Series
Part 1 >> Best Durations When Buying or Selling Options (Updated Article)
Part 2 >> The Sweet Spot Expiration Date When Selling Options
Part 3 >> Pros and Cons of Selling Weekly Options
>> Comprehensive Guide to Selling Puts on Margin
Selling Puts and Earnings Series
>> Why Bear Markets Don't Matter When You Own a Great Business (Updated Article)
Part 1 >> Selling Puts Into Earnings
Part 2 >> How to Use Earnings to Manage and Repair a Short Put Trade
Part 3 >> Selling Puts and the Earnings Calendar (Weird but Important Tip)
Mastering the Psychology of the Stock Market Series
Part 1 >> Myth of Efficient Market Hypothesis
Part 2 >> Myth of Smart Money
Part 3 >> Psychology of Secular Bull and Bear Markets
Part 4 >> How to Know When a Stock Bubble is About to Pop