As soon as you return the car the security deposit is released / refunded at the car hire suppliers end, however it normally takes between 7-10 working days for the deposit to show in your account but the time really does just depend on how quickly your bank updates your account. The rental suppliers do not have any control on how long it takes.