Temporary child custody is a legal arrangement that gives temporary physical and legal custody to one parent or guardian for a specific period. This arrangement can be made between the parents through an agreement or a court order.