Your situation Account it goes to How it reaches QuickBooks
You hold it: the deposit arrived on its own, by check or transfer Security deposits held (Other Current Liabilities) + New › Bank deposit, with the tenant in Received from and the liability as the account.
You hold it: it was billed with the first rent The same liability, reached through a Security deposit item A rent line and a deposit line on the same invoice or sales receipt. The item sends its line to the liability.
You paid one: your landlord, a utility or a supplier holds it An asset, such as Security deposits paid (Other Current Assets) A check or expense with that asset as the category. Some accountants use a long-term asset for a multi-year lease; ask yours.
Your state requires deposits in a separate bank account The liability, plus a second bank account in QuickBooks Deposit the money into that account. Rules on separate accounts and interest differ by state, so generally confirm them with your accountant or attorney.