Opportunity risk is the risk that an investor will be unable to take up an attractive investment because the necessary capital is committed elsewhere. It is not a risk of loss on the investment held. The cost lies in what cannot be done while the money is tied up. The exposure grows with the length of the commitment and with the difficulty of getting out early.
The risk is greatest in holdings that cannot readily be sold or redeemed: a fixed-term deposit with an early-withdrawal penalty, a fund with a lock-in period, or an illiquid asset such as property or a stake in private equity. A long-dated bond bought before interest rates rise carries a version of it, since the holder is left earning the old rate. The idea is related to opportunity cost, which is the known value of the alternative forgone, and to liquidity risk.