We present a general prescription for the holographic computation of real-time n-point functions in non-trivial states. In QFT such real-time computations involve a choice of a time contour in the complex time plane. The holographic prescription amounts to "filling in" this contour with bulk solutions: real segments of the contour are filled in with Lorentzian solutions while imaginary segments are filled in with Riemannian solutions and appropriate matching conditions are imposed at the corners of the contour. We illustrate the general discussion by computing the 2-point function of a scalar operator using this prescription and by showing that this leads to an unambiguous answer with the correct iǫ insertions.PACS numbers: 11.25.Tq 04.60.Cf 11.25.-wThe gravity/gauge theory duality has been one of the most far reaching developments in recent years. On the one hand it opens a window into strong coupling dynamics of gauge theories and on the other hand it provides a realization of holography and offers a new perspective in gravitational physics. In recent times, it has found applications that range from phenomenology to condensed matter physics.The foundational papers on the subject [1] laid down the basic principles of the duality. The detailed dictionary between bulk and boundary physics, however, is best understood to date in the supergravity approximation and in the Euclidean regime, i.e. the bulk solution involves a hyperbolic Riemannian manifold and the boundary theory is Wick-rotated. While this suffices for many applications, there are also many reasons for developing a general real-time prescription. Such a realtime formalism should be used, for example, in studies of time-dependent phenomena, analysis of gauge theories in nontrivial pure or mixed states, or the holographic interpretation of non-stationary spacetimes.Such a formalism, applicable at the same level of generality as the corresponding Euclidean prescription, would constitute an integral part of the definition of the holographic correspondence and as such is important on general grounds. Furthermore, there is an urgency for setting up such a formalism since interesting current applications, for example the holographic modelling of the quark-gluon plasma, crucially involve real-time physics. Actually much of the recent work on real-time holographic prescriptions was driven by such applications, see [2] for a review. The aim of this work is to provide a concrete, first principles prescription that covers all n-point functions and is applicable for any QFT that has (an Asymptotically AdS) holographic dual. Previous work on this subject includes [3,4,5] and our results agree with these works when we restrict to their respective domains of validity.The basic Euclidean holographic dictionary identifies the boundary conditions φ (0) for the bulk fields Φ to sources of the dual boundary operators and the bulk partition function, which is a functional of these boundary fields, to the generating functional of connected npoint functions. The main new iss...