The duration for which a JP drain remains in place can vary. Typically, it is kept until the fluid output decreases to a level deemed safe by the surgeon, usually less than 30 milliliters per day. This can range from a few days to a couple of weeks, depending on the type of surgery and the patient's healing process.