Jessica Alba knows how to let loose in Miami.

The actress and husband Cash Warren were spotted at the famed Ball & Chain nightclub on Friday.

An insider tells Page Six the couple, who were in town for a conference, were personal guests of owner Zach Bush.

“They were kicking back and grooving to the live music,” said the spy, noting the couple invited friends to join the good time at their prime table.

The group knocked back pineapple-flavored shots and stayed through two sets.

Alba, 34, and her beau — who were heard chatting about taking Salsa lessons — were very polite when the check came. We’re told the parents of two offered to pay, but the owner refused their attempt.