In investment, opportunity cost has to do with the cost of choosing one investment over another one, which has the potential to earn a higher return.