The time it takes a person to post bail and be freed largely depends on how busy the jail is; typically though, it will take a few hours at best.
A defendant, or someone on their behalf, may apply for a bail bond with a professional bail bond company as soon as the arraignment hearing has ended. They must wait for the arraignment because this is when they learn what the bail price is set at. The bail bond company needs this price in order to tell you how much they will charge you, which will be anywhere between 10 and 15 percent of that full price. The paperwork with the professional bail bond company can be done fairly quickly, perhaps a half hour or so. Then, it will be sent to the jail where the defendant is. Processing at the jail is what takes the most time, but within a few hours ...