Instagram's algorithm prioritizes content in users' feeds based on several factors: it considers a user's relationships with accounts, their interests as determined by past interactions, recency of posts, engagement levels of posts, popularity of content and accounts, quality of posts, a user's activity and device use, account types, location, and time of day. The goal is to tailor each user's feed to show content they are most likely to engage with.