What's the difference between oxycodone immediate release and sustained-release?

How soon it works. Immediate release starts having effect within 30 min to an hour or ingestion. It also only lasts for 3-4 hours. Sustained release has a longer onset of action, but also lasts between 8-12 hrs.