you need to give him written notice.
In our state, you need to give him a reason why you keep his deposit within 14 days after he moves out. 了解一些房東的LAW很有好處, 我以前就去小法庭告過房東 and I wan.