Nonrefundable security deposits: Deferred by the lessor as unearned revenue; Capitalized by the lessee as a prepaid rent expense until the lessor considers the deposit earned. Refundable security deposits: Treated as a receivable by the lessee; Treated as a liability by the lessor until the deposit is refunded to the lessee.