In the inner solar system, the planets' orbits evolve chaotically, driven primarily by secular chaos. Mercury has a particularly chaotic orbit and is in danger of being lost within a few billion years. Just as secular chaos is reorganizing the solar system today, so it has likely helped organize it in the past. We suggest that extrasolar planetary systems are also organized to a large extent by secular chaos. A hot Jupiter could be the end state of a secularly chaotic planetary system reminiscent of the solar system. However, in the case of the hot Jupiter, the innermost planet was Jupiter (rather than Mercury) sized, and its chaotic evolution was terminated when it was tidally captured by its star. In this contribution, we review our recent work elucidating the physics of secular chaos and applying it to Mercury and to hot Jupiters. We also present results comparing the inclinations of hot Jupiters thus produced with observations.planetary dynamics | extrasolar planets T he question of the stability of the solar system has a long and illustrious history (e.g., ref. 1). It was finally answered with the aid of computer simulations (2-4), which have shown that the solar system is "marginally stable": it is chaotically unstable, but on a timescale comparable to its age. In the inner solar system, the planets' eccentricities (e) and inclinations (i) diffuse in billions of years, with the two lightest planets, Mercury ( Fig. 1) and Mars, experiencing particularly large variations. Mercury may even be lost from the solar system on a billion-year timescale (5-7). [Chaos is much weaker in the outer solar system than in the inner (8-10).] However, despite the spectacular success in solving solar system stability, fundamental questions remain: What is the theoretical explanation for orbital chaos of the solar system? What does the chaotic nature of the solar system teach us about its history and organization? Also, how does this relate to extrasolar systems?For well-spaced planets that are not close to strong meanmotion resonances (MMRs), the orbits evolve on timescales much longer than orbital periods. Hence one may often simplify the problem by orbit-averaging the interplanetary interactions. The averaged equations are known as the "secular" equations (e.g., ref. 11). To linear order in masses, secular evolution consists of interactions between rings, which represent the planets after their masses have been smeared out over an orbit. Secular evolution dominates the evolution of the terrestrial planets in the solar system (5), and it is natural to suppose that it dominates in many extrasolar systems as well. This is the type of planetary interaction we focus on in this contribution.One might be tempted by the small eccentricities and inclinations in the solar system to simplify further and linearize the secular equations, i.e., consider only terms to leading order in eccentricity and inclination. Linear secular theory reduces to a simple eigenvalue problem. For N secularly interacting planets, the solution consists of 2N...