The time it takes to obtain a restraining order can vary depending on the complexity of the case and the court's schedule. In some cases, a temporary restraining order (TRO) can be issued quickly, providing immediate protection until the court hearing for a permanent restraining order (PRO).