LIFO is a contraction of the term “last in, first out,” and is a method of calculating cost basis. It means that the last shares purchased will be the first to be sold, when determining tax lots. LIFO tax treatment usually applies to insurance-based products in which earnings are withdrawn before principal.