Sialolithiasis can occur in individuals of any age, including children. However, it tends to be more common in adults, particularly those over the age of 30. In children, salivary gland stones are less common but can still occur, often as a result of factors like dehydration, infection, or certain medical conditions.