drinkYs icon drinkYs

Apple Health Integration

Log your drinks to Apple Health automatically — opt-in, private, and entirely under your control.

When you enable Apple Health sync in drinkYs, every drink you log is automatically written to your Apple Health record as standard drinks. The data is stored in Apple's HealthKit on your device. drinkYs never reads your Health data.

How It Works

drinkYs communicates with Apple HealthKit, which is the central health data store on your iPhone. It writes each drink as a number of standard drinks to the Alcohol Consumption health category.

  1. Go to Preferences → Apple Health and switch on "Sync with Apple Health".
  2. Choose your standard drink definition — EU / International (10 g) or US (14 g). This determines the count written to Apple Health. See details below.
  3. iOS will ask you to confirm HealthKit write access. Tap Allow.
  4. From now on, every drink you log in drinkYs is written to Apple Health instantly.

Previously logged drinks are not retroactively synced. Only drinks logged after enabling the feature will appear in Apple Health.

What Gets Written

For each drink, drinkYs calculates the pure ethanol content and converts it to standard drinks using your chosen unit, then writes the count to the Alcohol Consumption HealthKit category:

Standard drinks = Alcohol (g) ÷ Standard drink size (g)

For example, a 330 ml beer at 5% ABV contains approximately 13 g of pure ethanol. With the EU 10 g unit selected, this is written as 1.3 standard drinks. Apple Health displays this in its Alcohol Consumption section.

EU vs US Standard Drinks

A "standard drink" is a fixed amount of pure alcohol used for public health guidance. The definition differs by country:

EU / International
10 g
pure alcohol per standard drink
UK, Europe, Australia, New Zealand, and most countries
United States
14 g
pure alcohol per standard drink
Used in the United States only

Your choice determines the count written to Apple Health. The same 13 g beer would appear as 1.3 drinks (EU) or 0.9 drinks (US). Pick whichever matches the standard used in your country so the numbers are meaningful alongside other Health app data.

You can change this at any time in Preferences. The setting only affects future writes; it does not modify entries already in Apple Health.

Enabling & Disabling

You can toggle Apple Health sync on or off at any time in Preferences → Apple Health. Turning it off stops future writes immediately — it does not delete data already written to Apple Health.

To remove alcohol entries already in Apple Health, open the Health app on your iPhone, navigate to Browse → Other Data → Alcohol Consumption, and delete individual entries there. You can also revoke drinkYs's HealthKit permission at any time via Settings → Privacy & Security → Health → drinkYs.

Privacy

drinkYs writes alcohol data to HealthKit only if you have opted in. It never reads from HealthKit. All data remains on your device inside Apple's HealthKit framework — drinkYs has no server access to it. For full details, see our Privacy Policy.

Frequently Asked Questions

Does it sync past drinks?

No. Only drinks logged after you enable the feature are written to Apple Health. Existing entries are not affected.

What if I deny the HealthKit permission?

The toggle will remain off and no data will be written. You can grant permission later in Settings → Privacy & Security → Health → drinkYs, then toggle the feature on in Preferences.

Is this available on Android?

Not currently. Apple HealthKit is an iOS-only framework. The Apple Health toggle is only shown on iPhone and iPad.

Will this affect my iCloud Health data?

If you have iCloud sync enabled for the Health app, Apple will sync your HealthKit data (including entries written by drinkYs) across your Apple devices via your iCloud account. This is handled entirely by Apple's infrastructure — drinkYs is not involved.