Understanding ICD-10 Coding for History of Brain Aneurysm
The ICD-10 code for history of brain aneurysm is Z85.42. It lives in Chapter 21, the factors influencing health status and contact with health services section. This means it is not a diagnosis of disease but a record of a past condition. That distinction matters more than most people realize, especially when you are dealing with payers who will deny a claim if you mix an active problem with a historical code in the same encounter. Here is how I actually use this code in practice. A patient comes in for a routine follow-up of a previously clipped anterior communicating artery aneurysm. The aneurysm is gone. The clip is in place. There is no current symptomatic issue. The attending documents "history of treated brain aneurysm." You code Z85.42 as the primary reason for the visit if nothing else is being addressed. If the patient is also presenting with new headaches or neurologic symptoms, you add the appropriate active diagnosis code first. Z85.42 moves to secondary status in that scenario. The specific code Z85.42 was introduced with ICD-10-CM and has been updated through the current fiscal year editions. Before 2015, you would have used V12.52 under ICD-9, which covered personal history of cerebral aneurysm. The transition caused a lot of confusion in billing departments. I still see older coders defaulting to the V-code because their encoders had it saved from years of use. Don't make that mistake.
One thing that trips people up is whether Z85.42 applies to both ruptured and unruptured aneurysms. The code description says "personal history of cerebral aneurysm." It does not distinguish. Whether the aneurysm was ruptured and caused a subarachnoid hemorrhage or was discovered incidentally on imaging, the history code is the same. What changes is what you code for the active condition. A patient with a history of ruptured aneurysm who is now being evaluated for long-term seizure management gets a different primary code than someone monitoring for an unruptured aneurysm that was never treated. There is a specific edge case I ran into last year that took me three days to sort out. The patient had a known unruptured intracranial aneurysm that was deemed too risky to treat surgically. The physician documented "history of unruptured brain aneurysm" in the progress note but the encounter was for management of chronic hypertension. We initially coded the hypertension as primary with Z85.42 as secondary. The payer rejected it and asked for the aneurysm code to be primary instead, arguing that the aneurysm history was the reason for continued specialist oversight. I ended up splitting the encounter: hypertension with the appropriate I10 code on the primary diagnosis line for the general visit, and Z85.42 on a separate line because the patient was also being seen by neurosurgery for aneurysm monitoring during the same span of care. Each payer has a different policy on this. Some want the condition being treated that day as primary. Some want the reason for referral as primary. You have to know your specific payers before you start filing. Another counter-intuitive point is that Z85.42 cannot be used as a primary code for preventive screening. If a patient is asymptomatic and just needs surveillance imaging because of their aneurysm history, the screening code Z13.6 is the correct primary code. Z85.42 supports the medical necessity but does not replace the screening rationale. I have seen this error repeatedly in outpatient clinics where the coder assumes the history code justifies the MRA order. It does not. The order needs a screening or surveillance justification, not just a history tag.
The code also requires documentation. You cannot assume a history just because a patient had an aneurysm once. The medical record needs to clearly state that the condition has been resolved or that the patient is no longer being actively treated for it. Phrases like "status post coiling" or "post-operative aneurysm repair" are acceptable when they describe a completed treatment. But if the physician has not documented that the aneurysm is no longer an active issue, some auditors will push back and want you to code the aneurysm itself rather than the history. This happens frequently with patients who have multiple aneurysms where one was treated but another remains under observation. Documentation review is where this code gets tricky. A neurosurgeon might write "PCoA aneurysm, s/p coil embolization, stable on follow-up." Stable means something different to a clinician than it does to a coder. "Stable" could mean the aneurysm is completely occluded and no longer a concern, or it could mean the aneurysm sac is still visible on angiography but not growing. If the aneurysm is still present but not treated, you code the active aneurysm (I67.1), not the history code. I learned this the hard way when an auditor flagged a claim where we coded Z85.42 for a patient whose imaging showed a persistent 4mm aneurysm that was being monitored. The correct code was I67.1. The Z-code only applies when there is truly no residual aneurysm. For inpatient settings, the rules tighten further. Medicare and most commercial insurers require the history code to be justified by a clear narrative in the discharge summary. A bullet point that says "Hx of brain aneurysm" is often not sufficient. The narrative needs to reference the prior treatment, the date if available, and the reason the history is relevant to the current admission. I have seen claims denied for Z85.42 on inpatient stays because the coding abstraction pulled the code from a problem list without a corresponding documented note in the active encounter.
Get the Full Details

If you are building an encoder rule set or writing a coder education module, here are the practical takeaways. Always verify the aneurysm status in the most recent imaging report before coding Z85.42. Check for keywords like "occluded," "completely excluded," "no residual filling," or "post-treatment change." If the report uses language like "residual neck," "persistently patent aneurysm," or "stable residual sac," code the aneurysm itself. Make sure your coding software is set to ICD-10-CM and not ICD-10-PCS, because these are different classification systems and the PCS codes apply to procedures, not diagnoses. Double-check payer-specific guidelines, especially for Medicare Advantage plans, because some of them have added restrictions on the use of Z85.42 as a secondary diagnosis in certain outpatient settings.