Non-steroidal anti-inflammatory drugs (NSAIDs) are frequently used to treat chronic pain and inflammation. However, prolonged use of NSAIDs has been known to result in Gastrointestinal (GI) ulceration/bleeding, with a bile-mediated mechanism underlying their toxicity to the lower gut. Bile acids (BAs) and phosphatidylcholines (PCs), the major components of bile, form mixed micelles to reduce the membrane disruptive actions of monomeric BAs and simple BA micelles. NSAIDs are suspected to alter the BA/PC balance in the bile, but the molecular interactions of NSAID-BA or NSAID-BA-PC remain undetermined. In this work, we used a series of all-atom molecular dynamics simulations of cholic acid (CA), ibuprofen (IBU) and dodecylphosphocholine (DPC) mixtures to study the spontaneous aggregation of CA and IBU as well as their adsorption on a DPC micelle. We found that the size of CA-IBU mixed micelles varies with their molar ratio in a non-linear manner, and that micelles of different sizes adopt similar shapes but differ in composition and internal interactions. These observations are supported by NMR chemical shift changes, NMR ROESY crosspeaks between IBU and CA, and dynamic light scattering experiments. Smaller CA-IBU aggregates were formed in the presence of a DPC micelle due to the segregation of CA and IBU away from each other by the DPC micelle. While the larger CA-IBU aggregates arising from higher IBU concentrations might be responsible for NSAID-induced intestinal toxicity, the absence of larger CA-IBU aggregates in the presence of DPC micelles may explain the observed attenuation of NSAID toxicity by PCs.