diff --git a/docs/Aggregation/Pipeline/MaxBucket.md b/docs/Aggregation/Pipeline/MaxBucket.md
new file mode 100644
index 0000000000000000000000000000000000000000..ed69dcb1c1a31f8aebebd61ce3b5d8bf4a3a5d19
--- /dev/null
+++ b/docs/Aggregation/Pipeline/MaxBucket.md
@@ -0,0 +1,52 @@
+# Max Bucket Aggregation
+
+> More info about max bucket aggregation is in the [official elasticsearch docs][1]
+
+A sibling pipeline aggregation which identifies the bucket(s) with the maximum value of a 
+specified metric in a sibling aggregation and outputs both the value and the key(s) of the 
+bucket(s). The specified metric must be numeric and the sibling aggregation must be a multi-bucket 
+aggregation.
+
+## Simple example
+
+```JSON
+{
+    "aggs" : {
+        "sales_per_month" : {
+            "date_histogram" : {
+                "field" : "date",
+                "interval" : "month"
+            },
+            "aggs": {
+                "sales": {
+                    "sum": {
+                        "field": "price"
+                    }
+                }
+            }
+        },
+        "max_monthly_sales": {
+            "max_bucket": {
+                "buckets_path": "sales_per_month>sales" 
+            }
+        }
+    }
+}
+```
+
+And now the query via DSL:
+
+```php
+$dateAggregation = new DateHistogramAggregation('sales_per_month', 'date', 'month');
+$sumAggregation = new SumAggregation('sales', 'price');
+$maxBucketAggregation = new MaxBucketAggregation('max_monthly_sales', 'sales_per_month>sales');
+$dateAggregation->addAggregation($sumAggregation);
+
+$search = new Search();
+$search->addAggregation($dateAggregation);
+$search->addAggregation($maxBucketAggregation);
+
+$queryArray = $search->toArray();
+```
+
+[1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-max-bucket-aggregation.html
diff --git a/src/Aggregation/Pipeline/MaxBucketAggregation.php b/src/Aggregation/Pipeline/MaxBucketAggregation.php
new file mode 100644
index 0000000000000000000000000000000000000000..ea51d682fbf368003098655f48a60ce4bbfba7e1
--- /dev/null
+++ b/src/Aggregation/Pipeline/MaxBucketAggregation.php
@@ -0,0 +1,28 @@
+<?php
+
+/*
+ * This file is part of the ONGR package.
+ *
+ * (c) NFQ Technologies UAB <info@nfq.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace ONGR\ElasticsearchDSL\Aggregation\Pipeline;
+
+/**
+ * Class representing Max Bucket Pipeline Aggregation.
+ *
+ * @link https://goo.gl/FQQWIv
+ */
+class MaxBucketAggregation extends AbstractPipelineAggregation
+{
+    /**
+     * {@inheritdoc}
+     */
+    public function getType()
+    {
+        return 'max_bucket';
+    }
+}
diff --git a/tests/Aggregation/Pipeline/MaxBucketAggregationTest.php b/tests/Aggregation/Pipeline/MaxBucketAggregationTest.php
new file mode 100644
index 0000000000000000000000000000000000000000..72cc292de63e0ff41bb5c548d47f3375d269be52
--- /dev/null
+++ b/tests/Aggregation/Pipeline/MaxBucketAggregationTest.php
@@ -0,0 +1,36 @@
+<?php
+
+/*
+ * This file is part of the ONGR package.
+ *
+ * (c) NFQ Technologies UAB <info@nfq.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace ONGR\ElasticsearchDSL\Tests\Aggregation\Pipeline;
+
+use ONGR\ElasticsearchDSL\Aggregation\Pipeline\MaxBucketAggregation;
+
+/**
+ * Unit test for max bucket aggregation.
+ */
+class MaxBucketAggregationTest extends \PHPUnit_Framework_TestCase
+{
+    /**
+     * Tests toArray method.
+     */
+    public function testToArray()
+    {
+        $aggregation = new MaxBucketAggregation('acme', 'test');
+
+        $expected = [
+            'max_bucket' => [
+                'buckets_path' => 'test',
+            ],
+        ];
+
+        $this->assertEquals($expected, $aggregation->toArray());
+    }
+}