Last In, First Out: LIFO is an accounting principle which, in selling a portion of a position, matches it to acquisitions in order of most recent purchase(s) first. In a rising market, this means that lots purchased later, at a higher price, will be sold first - thereby minimizing the amount of gain that would be subject to tax.