The immediate precursor in the formation of acetoacetate from acetyl CoA in the liver is
High-Yield Explanation
HMG CoA
Acetoacetyl-CoA is the starting material for ketogenesis.
However, it is HMG-CoA from which acetoacetate arises.