There is not a set time limit on the amount of time short shares can be borrowed. However, the shares that are sold short must remain available to borrow. If the shares become unavailable to borrow, the investor can be forced to buy the shares back in the market regardless of the current market price. This can happen at any time after the initial short sale has settled (1 business day after the short sale*).
*Please note that settlement for stock trades will be changed on 5/28/2024. At that time, settlement was shortened to 1 day from 2 days.