A temporary restraining order in Rhode Island typically remains in effect until the full hearing, which is usually scheduled within 21 days. If a permanent restraining order is entered after the hearing, it can last for a specified period — often one to three years — or indefinitely, depending on the circumstances and the judge's determination. Either party can subsequently petition the court to modify or terminate the order.