The Texas Attorney General describes how to get your apartment deposit back.
Recovering Your Deposit. Most landlords require you to pay a security deposit to cover any repairs needed when you move out or to cover your failure to pay the last month's rent. By law, landlords cannot refuse to return the deposit without a valid reason.
Deductions for damages. Under Texas law, you must give the landlord a forwarding address and the landlord must return the deposit — less any amount deducted for damages — within 30 days. If the landlord withholds part or all of your deposit, he or she must give you an itemized list of deductions with a description of the damages.
Normal wear and tear. The landlord may not charge you for normal wear and tear on the premises and may only charge for actual abnormal damage. For example, if the carpet simply becomes more worn because you and your guests walked on it for a year, the landlord may not charge you for a new carpet. If your water bed leaks and the carpet becomes mildewed as a result, you may be charged.